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 Function
abs(x)
Floor Function
floor(n)
Greatest Common Denominator Function
gcd(a,b)
Is Prime Function
isprime(n)
Logarithm Function
log(x,b)
Modulus
mod(x,n)
Power Function
pow(b,y)
Square Root Function
sqrt(n)

Calculus

Exponential Function
exp(x)
Natural Logarithm Function
ln(x)

Trigonometry

Sine Function
sin(θ)
Cosine Function
cos(θ)
Tangent Function
tan(θ)
Arc Sine Function
asin(n)
Arc Cosine Function
acos(n)
Arc Tangent Function
atan(n)
Arc Tangent Function 2
atan2(y,x)
Cosecant Function
csc(θ)
Cotangent Function
cot(θ)
Secant Function
sec(θ)