This page explains valid math operators, variables, constants and functions that can be used in Smart Math Calculator.
The easiest way to see a list of supported functions and operators is by clicking on the "Keypad" tab as shown below.
| Function |
Description |
Examples |
| sin |
Sine: sin(v), where v is the value of angle in radians. |
sin(3.14), sin(x) |
| cos |
Cosine: cos(v), where v is the value of angle in radians.
|
cos(3.14), cos(x) |
| tan |
Tangent: tan(v), where v is the value of angle in radians.
|
tan(3.14), tan(x) |
| sinh |
Hyperbolic Sine: sinh(v), where v is the value of hyperbolic angle in radians. |
sinh(3.14), sinh(x) |
| cosh |
Hyperbolic Cosine: cosh(v), where v is the value of hyperbolic angle in radians. |
cosh(3.14), cosh(x) |
| tanh |
Hyperbolic Tangent: tanh(v), where v is the value of hyperbolic angle in radians. |
tanh(3.14), tanh(x) |
| asin |
Arcsine: asin(v), where v is a value in [-1,+1] range. |
asin(-0.5), asin(x) |
| acos |
Arcsine: acos(v), where v is a value in [-1,+1] range. |
acos(-0.5), acos(x) |
| atan |
Arctangent: atan(v), where v is a value in [-1,+1] range.
|
atan(-0.5), atan(x) |
| atan2 |
Arctangent: atan2(v1,v2) is same as atan(v1/v2) but it returns the correct angle for -Pi to +Pi range. |
atan2(2,-3), atan2(x,-2) |
| fraction |
fraction(v) returns only the fraction part of the decimal value v. |
fraction(110.025) -> returns 0.025 |
| rand |
rand() returns a random number in the [0.0,1.0] range. |
rand() -> may return 0.12512615 |
| round |
round(v) returns closes integer to decimal value v. |
round(5.623) -> returns 6.0 |
| int |
int(v) returns only the integer part of the decimal value v.
|
int(5.623) -> returns 5.0 |
| min |
min(v1,v2) returns the smallest of values v1 and v2. |
min(5,8), min(x, 10) |
| max |
max(v1,v2) returns the largest of values v1 and v2. |
min(5,8), min(x, 10) |
| log |
log(v) returns the logarithm base 10 of value v. |
log(125.2), log(x) |
| ln |
ln(v) returns the logarithm base e of value v. |
ln(125.2), ln(x) |
| sqrt |
sqrt(v) returns the root base 2 of value v. |
sqrt(4.5), root(x) |
| rootn |
rootn(n,v) returns the root base n of value v. |
rootn(3,-8), rootn(3,x) |
| exp |
exp(v) returns the value of e raised to power of v. |
exp(4.5), exp(x) |
| abs |
abs(v) returns the absolute value of v. |
abs(-4.5), abs(x) |
| ceil |
ceil(v) returns the rounded up integer of decimal value v.
|
ceil(5.01) -> returns 6.0 |
| floor |
floor(v) returns the rounded down integer of decimal value v.
|
floor(5.99) -> returns 5.0 |