The ACOS function returns the inverse cosine of a value expressed in radians.

This function can be useful to measure the angular divergence between two moving averages as they drift apart over time.

ACOS(Value)

ArgumentData typeDescription
ValueNumber

The cosine of the angle for which you want to calculate the arccosine.

The input must be greater than or equal to −1 and less than or equal to 1 (between −1 and 1, inclusive). 

The ACOS() function returns a numeric value between 0 and π, inclusive.

This function is only available in the Polaris Calculation Engine.

ACOS(0.5)

Returns NaN when Angle is NaN.

FormulaResult
ACOS(-0.5)2.094
ACOS(-0.5) * 180 / PI()120
TODEGREES(ACOS(-0.5))120