Difference between revisions of "Csc"
From SCAR Divi Manual
(→Example) |
|||
Line 15: | Line 15: | ||
<source lang="scar"> | <source lang="scar"> | ||
begin | begin | ||
− | WriteLn(Csc( | + | WriteLn(Csc(5)); |
+ | WriteLn(1 / Sin(5)); | ||
end. | end. | ||
</source> | </source> | ||
Output: | Output: | ||
− | 1, | + | -1,04283521277141 |
+ | -1,04283521277141 | ||
==See Also== | ==See Also== |
Revision as of 07:54, 28 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(5)); WriteLn(1 / Sin(5)); end.
Output:
-1,04283521277141 -1,04283521277141