Function Tan(x)

Tan

Tan(
   x             ! (input) numerical expression
   )

Arguments

x

A scalar numerical expression in radians.

Return Value

The Tan function returns the tangent of x in the range \(-\infty\) to \(\infty\).

Graph

../../_images/tan.png

Example

_p_returnM1 := Tan(-1.56); ! Tan(-1.56) = -92.620496316705
_p_returnZ  := Tan( 0   ); ! Tan( 0) = 0
_p_returnP1 := Tan( 1.56); ! Tan( 1.56) = 92.620496316705

Note

The function Tan can be used in constraints of nonlinear mathematical programs.

See also