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.
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
Version | Status | Notes |
10.0 | Updated | Carried over from Panorama 6.0, however, the output angle may be degrees or radians, while in Panorama 6 this function always returned radians. |