[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Calculate sine of angle
Source position: mathh.inc line 75
function sin( |
d: ValReal |
):ValReal; |
Sin returns the sine of its argument X, where X is an angle in radians. If the absolute value of the argument is larger than 2^63, then the result is undefined.
None.
|
Calculate cosine of angle |
|
|
Return the value of PI. |
|
|
Exponentiate |
|
|
Calculate logarithm |
Program Example62; { Program to demonstrate the Sin function. } begin Writeln (Sin(Pi):0:1); { Prints 0.0 } Writeln (Sin(Pi/2):0:1); { Prints 1.0 } end.
lazarus-ccr.sourceforge.net |