🎯 Why 0! = 1 (zero factorial is one)?

Scalar Calculator - Why 0! = 1

Recently, I was thinking about various justifications for the definition of 0! (factorial of zero) which is

$$0!=1$$

The assumed value of 1 may seem quite obvious if you consider the recursive formula. However, it did not satisfy me “mathematically”. That’s why I decided to write these few sentences. I will give motivations for the less advanced ones, but there will also be motivations for slightly more insiders.

Continue reading “🎯 Why 0! = 1 (zero factorial is one)?”

🎯 Why negative times a negative is a positive?

Scalar Calculator - Negative times Negative

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.

⭐️ Multiplication as a short notation of repeated addition

Continue reading “🎯 Why negative times a negative is a positive?”

🎯 User functions definition – the unique convenience provided by the Scalar Calculator

Scalar Calculator - User Functions

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

Continue reading “🎯 User functions definition – the unique convenience provided by the Scalar Calculator”

🎯 Fun fact – Scalar – digits clicks distribution – real data

Scalar Calculator - digits clicks distribution - by digit

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

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

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 number 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

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.

Continue reading “🎯 Prime numbers support in Scalar Calculator”