Skip to content

tan

Tangent (radians).

Y = tan(X)

Returns the tangent of X, in radians. Undefined (infinite) at odd multiples of π/2.

tan(0) % 0
tan(pi/4) % 1
  • tand — Tangent (degrees).
  • tanh — Hyperbolic tangent.
  • atan — Inverse tangent (radians).
  • sin — Sine (radians).
  • cos — Cosine (radians).