Function |
Definition |
Example |
^ |
base^exponent |
x^2; (x+2)^3; x^(x+3) |
sqrt |
Square root |
sqrt(x) |
cbrt |
Cube root |
cbrt(x+3) |
root(a,b) |
Root |
root(x,5) - fifth root of x |
logn(a,b) |
Logarithm |
logn(x,5) - logarithm base-5 of x |
ln, lg and lb |
Base-E logarithm, base-10 logarithm and base-2 logarithm |
lg(x) |
exp() |
E^ |
exp(x) = E^x |
sin, cos, tan, cot, sec, csc |
Trigonometrical functions |
sin(x+PI/2), cos(2x) |
asin, acos, atan, acot, asec, acsc |
Back trigonometrical functions |
asin(x+1) |
sinh, cosh, tanh, coth, sech, csch |
Hyperbolic trigonometrical functions |
sinh(x) |
asinh, acosh, atanh, acoth, asech, acsch |
Back hyperbolic trigonometrical functions |
asinh(x) |
round |
Rounds argument up or down to the closest integer |
round(3.3)=3; round(3.5)=4; round(3.8)=4 |
floor |
Rounds arg down |
floor(3.3)=3; floor(3.5)=3; floor(3.8)=3 |
ceil |
Rounds arg up |
ceil(3.3)=4; ceil(3.5)=4; ceil(3.8)=4 |
|| or abs |
Absolute value |
|x|; abs(x); |x+2| |
sgn |
Signature function |
sgn(x) |