Surely everyone knows that the result of multiplying two negative numbers is positive. The formula "minus times a minus is a plus" or **"negative times a negative is a positive"** was put into our heads during the early school years. However, the teachers have forgotten to explain why this is the case, and to pass the motivation of mathematicians who defined the arithmetic of negative numbers.

## π― User functions definition - the unique convenience provided by the Scalar Calculator

**Functions for mathematics are what elementary particles are for physics. **For this reason, the Scalar Calculator and its mathematical engine, provide the syntax for defining user functions, which is as close to natural as possible. Just enter f (x) = x^2 and you are ready to go. Stay tuned to learn a bit more details! π

## β Basic user defined functions

The syntax for defining user functions is as follows.

**FunctionName(param1 <, param2, ...>) = expression**

## π― User arguments definition - the true power of Scalar Calculator

**Defining user arguments and constants is what makes Scalar unique in the panorama of available calculators. **Take a moment to familiarize yourself with this short tutorial. It is definitely a dose of very useful knowledge. Stay tuned π

## β Simple user arguments definition

Continue reading "π― User arguments definition - the true power of Scalar Calculator"## π― Fun fact - Scalar - digits clicks distribution - real data

After few months of Scalar being present in the Google Play Store, we decided to check what is the distribution of digits (buttons) used by our users directly in the application. Below we present gathered data that say something, but we do not know exactly what. Maybe you will help in the interpretation? Do you see any relation to the Benford's law?

## β Scalar - digits clicks distribution - ordered by digit

The most frequently used numbers are 2 and 5. It is also well visible the effect of multi-use of the digit 0 considering particular user perspective. The digit, that is used the least often, is 7.

Continue reading "π― Fun fact - Scalar - digits clicks distribution - real data"## π― Fractions support in Scalar Calculator

When working with Scalar **you can enter numbers in the form of fractions** and convert decimal numbers into fractions. This is very convenient because fractions function on a par with other numbers, i.e. they are converted to decimal numbers.

## β Entering number as fractions

Entering numbers in the form of fractions is done using the following syntax:

Continue reading "π― Fractions support in Scalar Calculator"## π― Various numeral systems in Scalar Calculator

Today you will learn how to use different numeral systems in the Scalar calculator. Thanks to Scalar it is very easy to:

- Convert decimal system
**to other numeral systems** - Convert
**other numeral systems**into a decimal system - Enter values simultaneously in
**different numeral systems** - Acquire
**information about the digits of a given numbe**r on the basis of the indicated numeral system

Stay tuned, this is exciting π

Continue reading "π― Various numeral systems in Scalar Calculator"## π― Prime numbers support in Scalar Calculator

Today I will present various types of support for prime numbers that the Scalar calculator provides. There will be some theory, some screenshots, and a few lines of code that you can use directly in your Scalar instances. Stay tuned! π

## β Scalar functions and options related to prime numbers

Let's start with the list of functions and options available in Scalar, which are linked to prime numbers. On the calculator screen, long click on the **"example /?"** button. As a result you will get the help dialog containing search option. Enter "prime" keyword.