Functions

This is a collection of math functions for lookup and reference. A function is a useful tool and design pattern in mathematics, especially with the use of computers. Each function is linked to a page that describes its usage.

Arithmetic

Absolute Value
abs(x)
Exponential
exp(x)
Floor
floor(n)
Greatest Common Denominator
gcd(a,b)
Is Prime
isprime( n)
Logarithm
log(x,b)
Modulus
mod(x,n)
Natural Logarithm
ln(x)
Power
pow(b,y)
Square Root
sqrt(n)

Trigonometry

Sine
sin(θ)
Cosine
cos(θ)
Tangent
tan(θ)
Arc Sine
arcsin(x)
Arc Cosine
arccos(x)
Arc Tangent
arctan(x)
Cosecant
csc(θ)
Cotangent
cot(θ)
Secant
sec(θ)