- 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
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
The functions
ArcSin
,ArcCos
,Tan
. Arithmetic functions are discussed in full detail in Arithmetic Functions of the Language Reference.