Skip to content

Tan

The tangent of x, in radians.

Tan(x)the tangent of x, in radians.
SageMathtan(x)SymPytan(x)mpmathtan(x)

Domain: Elementary functions

Details
  • .
  • Odd function: .
  • Period -- half the period of Sin and Cos.
  • Undefined wherever , i.e. at odd multiples of ; compute-engine returns ComplexInfinity there rather than an error.

Examples

See also: Sin, Cos, Cot, Arctan