ACOS

 

The ACOS function returns the inverse cosine, in radians, of the input value. The input must be a real number. The returned value is within the range of -π ~ π.

 

Format

 

Arguments definition

A real number or a function that returns a real number

 

Formulation

 

Example

As shown in the following figure, the ACOS function calculates the inverse cosine (in radians) of Marker 1 on the InertiaMarker’s x-axis.

ACOS( DX(1,2)/DM(1,2) )   <Argument: (1)body1.marker1, (2)body2.marker2 >