Trigonometry & Constants
Mathematical constants
Pi or π
3.1415926536…
Tau (2pi)
6.2831853072...
Phi (the golden ratio)
1.6180339887...
Trigonometric functions
sin()
Calculate the sine of a value
sinh()
Calculate the hyperbolic sine of a value
asinh()
Calculate the hyperbolic arcsine of a value
cos()
Calculate the cosine of a value
cosh()
Calculate the hyperbolic cosine of a
acosh()
Calculate the hyperbolic arccos of a value
tan()
Calculate the tangent of a value
tanh()
Calculate the hyperbolic tangent of a value
atanh()
Calculate the hyperbolic arctangent of a value
Trigonometric functions take a value in radians by default.
If you want to use degrees, specify this in the parameter, or append "d" to the function name:
sin(90 degrees) = 1.0
sind(90) = 1.0
Inverse trigonometric functions
asin()
Calculate the inverse sine of a value
acos()
Calculate the inverse cosine of a value
atan()
Calculate the inverse tangent of a value
Inverse trigonometric functions return a value in radians by default.
If you want to use degrees, specify this in the parameter, or append "d" to the function name:
asin(0.5 degrees) = 30º
asind(0.5) = 30º
Last updated