acos returns the arc cosine of n . The argument n must be in the range of -1 to 1, and the function returns values in the range of 0 to pi, expressed in radians.