next up previous contents index
Next: SizeOf Up: Functions and Procedures Previous: SetTextBuf

Sin

   

Declaration:

Function Sin (X : real) : Real;

Description:

Sin returns the sine of its argument X, where X is an angle in radians.

Errors:

None.

See also:

Cos, Pi, Exp

Example
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.



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998