Difference between revisions of "Csc"

From SCAR Divi Manual
Jump to: navigation, search
Line 1: Line 1:
 
==Definition==
 
==Definition==
<func>function Csc(X: Extended): Extended; </func>
+
<source lang="scar" lines="false">
 +
function Csc(X: Extended): Extended;
 +
</source>
  
 
==Availability==
 
==Availability==

Revision as of 12:29, 26 June 2011

Definition

function Csc(X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

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

Csc(X) = 1 / Sin(X)

Example

begin
  WriteLn(Csc(Pi));
end.

Output:

1,26804284593616E18

See Also