[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Return inverse cosine
Source position: math.pp line 317
function arccos( |
x: Float |
):Float; |
Arccos returns the inverse cosine of its argument x. The argument x should lie between -1 and 1 (borders included).
If the argument x is not in the allowed range, an EInvalidArgument exception is raised.
|
Return inverse sine |
|
|
Return inverse hyperbolic cosine |
|
|
Return inverse hyperbolic sine |
|
|
Return inverse hyperbolic tangent |
Program Example1; { Program to demonstrate the arccos function. } Uses math; Procedure WriteRadDeg(X : float); begin Writeln(X:8:5,' rad = ',radtodeg(x):8:5,' degrees.') end; begin WriteRadDeg (arccos(1)); WriteRadDeg (arccos(sqrt(3)/2)); WriteRadDeg (arccos(sqrt(2)/2)); WriteRadDeg (arccos(1/2)); WriteRadDeg (arccos(0)); WriteRadDeg (arccos(-1)); end.