The acos(x) function returns the inverse of the corresponding trigonometric function. x must be within -1 and 1 for acos, or a missing value is returned. Returned values are in radians, degrees or gradians, depending upon the system.math.angularunits object property (which can also be set in the Options dialog box).
double acos(double x)
x
Returns the inverse of the corresponding trigonometric function.
aa = acos(1); aa = ; //should return 0.