
Calculates the arccosine.
Acos(x)
(f) x: floating point number whose arccosine is desired.
(f) the Acos function returns the arccosine result of x.
The Acos function returns the arccosine of x in the range 0 to p radians. The value of x must be between -1 and 1, otherwise a domain error will occur.
real=AskLine("ArcCos", "Enter a real number between -1 and 1", "0.5", 0)
answer=Acos(real)
Message("Arccos of %real% is",answer)