arctan(
VALUE
)

The arctan( function calculates the inverse tangent of a numeric value.


Parameters

This function has one parameter:

value – a numeric value.


Description

This function calculates the inverse tangent of a value. The graph below shows the result of the arctan( function given input values from -5 to +5.

y = arctan( x )
y = arctan( x )

The output of the arctan( function is an angle. This angle is normally in radians, but in a procedure you can tell Panorama to switch to using degrees instead, like this:

degree
NewAngle=arctan(value)

The degree statement tells Panorama to use degrees instead of radians in all trigonometry calculations. Panorama will continue to use degrees until the end of the procedure, or until a radian statement is encountered.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, however, the output angle may be degrees or radians, while in Panorama 6 this function always returned radians.