ACOS

The ACOS function calculates the arc cosine of an expression a. Expression a must evaluate to a value whose absolute value is less than or equal to 1. The value returned by ACOS lies in the range [0,] (i.e., 0 < ACOS(a) < ).

Format

ACOS(a)

Arguments

 
a
Any valid function expression.
Number of Arguments: 1

Examples

VARIABLE/1, FU=ACOS((DX(21,11)*DX(31,41)+DY(21,11)*DY(31,41)
+ DZ(21,11)*DZ(31,41))/(DM(21,11)*DM(31,41))
This statement specifies a new user-defined state variable. Its value is the included angle of the lines joining Markers 11 and 21 and Markers 41 and 31. The result is in radians.
See other FORTRAN 77 intrinsic functions available.