Cos

From SCAR Divi Manual
Revision as of 10:07, 29 June 2011 by Freddy (talk | contribs) (Description)
Jump to: navigation, search

Definition

function Cos(e: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

This function calculates the cosine of a value e. The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse. It is a trigonometric function.

Example

begin
  WriteLn(Cos(Pi));
  WriteLn(Cos(0));
end.

Output:

-1
1

See Also