arccos(
VALUE
)

The arccos( function calculates the inverse cosine of a numeric value.


Parameters

This function has one parameter:

value – a numeric value between -1 and +1.


Description

This function calculates the inverse cosine of a value. The graph below shows the result of the arccos( function given input values from -1 to +1.

y = arccos( x )
y = arccos( x )

The output of the arccos( 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=arccos(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.