arccos(
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 )

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

- arccosh( -- calculates the inverse hyperbolic cosine of a numeric value.
- arcsin( -- calculates the inverse sine of a numeric value.
- arcsinh( -- calculates the inverse hyperbolic sine of a numeric value.
- arctan( -- calculates the inverse tangent of a numeric value.
- arctanh( -- calculates the inverse hyperbolic tangent of a numeric value.
- cosh( -- calculates the hyperbolic cosine of a numeric value.
- degree -- tells Panorama that all angles input to and calculated in trigonometric functions are in degrees rather than radians.
- radian -- tells Panorama that all angles in trigonometric functions should be calculated using radians rather than degrees.
- sinh( -- calculates the hyperbolic sine of a numeric value.
- tanh( -- calculates the hyperbolic tangent of a numeric value.

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.