math.acos

math.acos(
   x as Number
) as Number

Summary

Returns the arc cosine of x, in radians, in the range from 0 to pi (inclusive).

Parameters
x The fraction to be evaluated. Must be in the range of -1 to +1 (inclusive).

Example

  math.acos(.5)

  => 1.0471975511966
Powered by MarkLogic Server | Terms of Use | Privacy Policy