Difference between revisions of "Tan"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Tan(X: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This function calcula...")
 
 
Line 26: Line 26:
 
==See Also==
 
==See Also==
 
*[[ArcTan]]
 
*[[ArcTan]]
*[[Cotan]]
+
*[[Cot]]
 
*[[Sin]]
 
*[[Sin]]
 
*[[Cos]]
 
*[[Cos]]

Latest revision as of 10:45, 29 June 2011

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