math:acos( $x as xs:double ) as xs:double
Returns the arc cosine of x, in radians, in the range from 0 to pi (inclusive).
math:acos(.5) => 1.0471975511966