Cot

From SCAR Divi Manual
Revision as of 11:45, 29 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function Cot(X: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ===Aliases=== *Cotan (SCAR Divi 3.00 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Cot(X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Aliases

  • Cotan (SCAR Divi 3.00 > Current)

Description

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

Cot(X) = Cos(X) / Sin(X)

Example

begin
  WriteLn(Cot(1));
  WriteLn(Cot(0.5));
end.

Output:

0,642092615934331
1,83048772171245

See Also