Trigonometric functions


cos

Compute cosine (function) cos(3.1415*60/180) = 0.5

sin

Compute sine (function) sin(3.1415*30/180) = 0.5

tan

Compute tangent (function) tan(3.1415*45/180) = 1.0

acos

Compute arc cosine (function) acos(0.5) = 3.1415*60/180

asin

Compute arc sine (function) asin(0.5) = 3.1415*30/180

atan

Compute arc tangent (function) atan(1) = 3.1415*45/180.0

atan2

Compute arc tangent with two parameters (function)

atan2(10, -10)=3.1415*135/180

Hyperbolic functions


cosh

Compute hyperbolic cosine (function) cosh(1) = 1.5431

sinh

Compute hyperbolic sine (function) sinh(1) = 1.1752

tanh

Compute hyperbolic tangent (function) tanh(1) = 0.76159

Exponential and logarithmic functions


exp

Compute exponential function (function) exp(1) = 2.7183

log

Compute natural logarithm (function) log(exp(1)) = 1.0

log10

Compute common logarithm (function), log10(1000.0) = 3

Power functions


pow

Raise to power (function), pow(2, 3) = 8;

3.1x2 + 5.0x3= 3.1*pow(x,2) + 5.0*pow(x,3);

sqrt

Compute square root (function), sqrt(4) = 2


Notice: according to C language syntax, 5/2 = 2, 5/2.0 = 2.5.