Function ArcTan(x)

ArcTan

ArcTan(
      x             ! (input) numerical expression
      )

Arguments

x

A scalar numerical expression.

Return Value

The ArcTan function returns the arctangent of x in the range \(-\pi/2\) to \(\pi/2\) radians.

Graph

../../_images/arctan.png

Example

_p_returnM1 := arcTan(-1e9); ! returns almost -pi/2
_p_returnZ  := arcTan( 0); ! returns 0
_p_returnP1 := arcTan( 1e9); ! returns almost pi/2

Note

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

See also