Tan

From SCAR Divi Manual
Revision as of 10:45, 29 June 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Tan(X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

This function calculates the tangent of a value X. The tangent of an angle is the ratio of the length of the opposite side to the length of the adjacent side. It is a trigonometric function.

Tan(X) = Sin(X) / Cos(X)

Example

begin
  WriteLn(Tan(1));
  WriteLn(Tan(0));
end.

Output:

1,5574077246549
0

See Also