Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.