Difference between revisions of "Sin"
From SCAR Divi Manual
(→Description) |
|||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | This function calculates the [http://mathworld.wolfram.com/Sine.html sine] of | + | This function calculates the [http://mathworld.wolfram.com/Sine.html sine] of an angle '''e''', defined in [http://en.wikipedia.org/wiki/Radian radians]. The sine is the ratio of the length of the side opposite to an angle to the length of the hypotenuse. It is a [http://en.wikipedia.org/wiki/Trigonometric_functions trigonometric function]. |
==Example== | ==Example== |
Revision as of 23:56, 2 July 2011
Definition
function Sin(e: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
This function calculates the sine of an angle e, defined in radians. The sine is the ratio of the length of the side opposite to an angle to the length of the hypotenuse. It is a trigonometric function.
Example
begin WriteLn(Sin(Pi / 2)); WriteLn(Sin(Pi / 4)); end.
Output:
1 0,707106781186548