Arithmetic functions contains basic mathematical functions like power and logarithmic functions.
They're used often in common mathematical calculations.
|
| Function | Description |
|---|---|
| Abs(x) | Absolute value of x, removes the sign of x |
| x^2 | Square of x |
| Sign(x) | The sign of x. Returns 1 if x>0, 0 if x=0 and -1 if x<0 |
| Sqrt(x) | Square root of x |
| Exp(x) e^(x) |
Exponential value of x |
| Ln(x) Log(x) |
Natural logarithm of x, Solves y for ey=x |
| Log(x, base) |
Custom based logarithm of x, Logbase(x), Solves y for basey=x |
| Log10(x) | 10-Based logarithm of x, Solves y for 10y=x |
'Examples of using Arithmetic Functions
Abs(-15)
Ans = 15
4^2
Ans = 16
Sqrt(9)
Ans = 3
Sqrt(4 ^ 2)
Ans = 4
Sqrt(3 ^ 2 + 4 ^ 2)
Ans = 5
e^(1)
Ans = 2.7182818285
Exp(2 + 0.5)
Ans = 12.182493961
Ln(20)
Ans = 2.9957322736
Log(Exp(3))
Ans = 3
Log10(1000)
Ans = 3
Log(1000, 10)
Ans = 3
'Calculate the 2 based logaritm of 1000, solve 2^x=1000
Log(1000, 2)
9.965784285