Mixly Block Category - Math
From Microduino Wiki
Contents
Number Value
Numeric value which can be assigned to a variable or used in function parameters.
Arithmetic Operations
Performs the arithmetic operations and returns that value. Variables can be used to inputs.
- +, -, x, ÷ : add, subtract, multiply, divide. Read more here: https://www.arduino.cc/en/Reference/Arithmetic
- % : modulo. Read more here: https://www.arduino.cc/en/Reference/modulo
- ^ : power. i.e. 2^3 = 2 * 2 * 2 = 8
Trigonometry Function
- sin(). Read more here: https://www.arduino.cc/en/Reference/Sin
- cos(). Read more here: https://www.arduino.cc/en/Reference/Cos
- tan(). Read more here: https://www.arduino.cc/en/Reference/Tan
- asin(), acos(), atan(). Read more here: https://www.arduino.cc/en/Math/H
Number Function
- toInt
- abs
- sq
- sqrt
- log