next up previous contents index
Next: Assign Up: Functions and Procedures Previous: Append

Arctan

   

Declaration:

Function Arctan (X : Real) : Real;

Description:

Arctan returns the Arctangent of X, which can be any real type. The resulting angle is in radial units.

Errors:

None

See also:

Sin, Cos

Example
Program Example4;

{ Program to demonstrate the ArcTan function. }

Var R : Real;

begin
  R:=ArcTan(0);      { R:=0 }
  R:=ArcTan(1)/pi;   { R:=0.25 }
end.



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