Difference between revisions of "Csc"
From SCAR Divi Manual
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
− | < | + | <source lang="scar" lines="false"> |
+ | function Csc(X: Extended): Extended; | ||
+ | </source> | ||
==Availability== | ==Availability== | ||
SCAR Divi 3.00 > Current | SCAR Divi 3.00 > Current | ||
+ | |||
+ | ===Aliases=== | ||
+ | *Cosecant (SCAR Divi 3.00 > Current) | ||
==Description== | ==Description== | ||
Line 13: | Line 18: | ||
<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== | ||
*[[ArcCsc]] | *[[ArcCsc]] | ||
*[[Sin]] | *[[Sin]] | ||
+ | *[[Sec]] | ||
+ | *[[Cot]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Latest revision as of 10:44, 29 June 2011
Definition
function Csc(X: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Aliases
- Cosecant (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