Sin

From SCAR Divi Manual
Revision as of 10:35, 28 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function Sin(e: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This function calcula...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Sin(e: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

This function calculates the sine of a value X. 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

See Also