Trigonometry (29)

Functions support number, Complex, BigNumber, and parallel Float64Array.

acos
Inverse sine, cosine, tangent
Syntax
acos(x)
acosh
Inverse hyperbolic sine, cosine
Syntax
acosh(x)
acot
Inverse cosecant, secant, cotangent
Syntax
acot(x)
acoth
Inverse hyperbolic csc/sec/cot (factory)
Syntax
acoth(x)
acsc
Inverse cosecant, secant, cotangent
Syntax
acsc(x)
acsch
Inverse hyperbolic csc/sec/cot (factory)
Syntax
acsch(x)
asec
Inverse cosecant, secant, cotangent
Syntax
asec(x)
asech
Inverse hyperbolic csc/sec/cot (factory)
Syntax
asech(x)
asin
Inverse sine, cosine, tangent
Syntax
asin(x)
asinh
Inverse hyperbolic sine, cosine
Syntax
asinh(x)
atan
Inverse sine, cosine, tangent
Syntax
atan(x)
atan2
Two-argument arctangent
Syntax
atan2(y, x)
atanh
Inverse hyperbolic tangent
Syntax
atanh(x)
AccelWASM (≥16384)
cos
Cosine
Syntax
cos(x)
AccelWASM (≥16384)
cosh
Hyperbolic sine, cosine, tangent
Syntax
cosh(x)
cot
Cosecant, cotangent
Syntax
cot(x)
coth
Hyperbolic cosecant, secant, cotangent (factory)
Syntax
coth(x)
csc
Cosecant, cotangent
Syntax
csc(x)
csch
Hyperbolic cosecant, secant, cotangent (factory)
Syntax
csch(x)
hypot
Hypotenuse sqrt(Σ xᵢ²)
Syntax
hypot(a, b, …)
number
Convert to a primitive number
Syntax
number(x)
sec
Secant
Syntax
sec(x)
AccelWASM ([16384, 1048576))
sech
Hyperbolic cosecant, secant, cotangent (factory)
Syntax
sech(x)
sin
Sine
Syntax
sin(x)
AccelWASM ([1024, 131072))
sinh
Hyperbolic sine, cosine, tangent
Syntax
sinh(x)
tan
Tangent
Syntax
tan(x)
tanh
Hyperbolic sine, cosine, tangent
Syntax
tanh(x)
toDegrees
Convert radians to degrees
Syntax
toDegrees(rad)
toRadians
Convert degrees to radians
Syntax
toRadians(deg)