Trigonometry

Elementary Trigonometric Functions

sin(x)

Computes the sine value of \(x\).

>>> sin(3)
= 0.1411200080598672
cos(x)

Computes the cosine value of \(x\).

>>> cos(3)
= -0.9899924966004454
tan(x)

Computes the tangent value of \(x\).

>>> tan(3)
= -0.1425465430742778

Inverse Trigonometric Functions

arcsin(x)

Computes the inverse sine value of \(x\). Aliases: asin, arsin.

>>> arcsin(0.5)
= 0.5235987755982989
arccos(x)

Computes the inverse cosine value of \(x\). Aliases: acos, arcos.

>>> arccos(0.5)
= 1.047197551196598
arctan(x)

Computes the inverse tangent value of \(x\). Aliases: atan, artan.

>>> arctan(3)
= 1.249045772398254

Hyperbolic Trigonometric Functions

sinh(x)

Computes the hyperbolic sine value of \(x\).

>>> sinh(3)
= 10.0178749274099
cosh(x)

Computes the hyperbolic cosine value of \(x\).

>>> cosh(3)
= 10.06766199577777
tanh(x)

Computes the hyperbolic tangent value of \(x\).

>>> tanh(3)
= 0.9950547536867305

Inverse Hyperbolic Trigonometric Functions

asinh(x)

Computes the inverse of the hyperbolic sine value of \(x\). Aliases: arcsinh, arsinh.

>>> asinh(3)
= 1.818446459232067
acosh(x)

Computes the inverse of the hyperbolic cosine value of \(x\). Aliases: arccosh, arcosh.

>>> acosh(3)
= 1.762747174039086
atanh(x)

Computes the inverse of the hyperbolic tangent value of \(x\). Aliases: arctanh, artanh.

>>> atanh(0.5)

= 0.5493061443340548

Reciprocal Trigonometric Functions

csc(x)

Computes the cosecant value of \(x\).

>>> csc(3)
= 7.086167395737187
sec(x)

Computes the secant value of \(x\).

>>> sec(3)
= -1.010108665907994
cot(x)

Computes the cotangent value of \(x\).

>>> cot(3)
= -7.015252551434534

Inverse Reciprocal Trigonometric Functions

arccsc(x)

Computes the inverse cosecant value of \(x\). Aliases: acsc, arcsc.

>>> arccsc(1)
= 1.570796326794897
arcsec(x)

Computes the inverse secant value of \(x\). Aliases: asec, arsec.

>>> arcsec(1)
= 0
arccot(x)

Computes the inverse cotangent value of \(x\). Aliases: acot, arcot.

>>> arccot(3)
= 0.3217505543966421

Hyperbolic Reciprocal Trigonometric Functions

csch(x)

Computes the hyperbolic cosecant value of \(x\).

>>> csch(3)
= 0.09982156966882273
sech(x)

Computes the hyperbolic secant value of \(x\).

>>> sech(3)
= 0.09932792741943321
coth(x)

Computes the hyperbolic cotangent value of \(x\).

>>> coth(3)
= 1.004969823313689

Inverse Hyperbolic Reciprocal Trigonometric Functions

arccsch(x)

Computes the inverse hyperbolic cosecant value of \(x\). Aliases: acsch, arcsch.

>>> arccsch(1)
= 0.8813735870195429
arcsech(x)

Computes the inverse hyperbolic secant value of \(x\). Aliases: asec, arsec.

>>> arcsech(1)
= 0
arccoth(x)

Computes the inverse hyperbolic cotangent value of \(x\). Aliases: acot, arcot.

>>> arccoth(3)
= 0.3465735902799726