Difference between revisions of "Cos"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Cos(e: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This function calcula...") |
(→See Also) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | This function calculates the [http://mathworld.wolfram.com/Cosine.html cosine] of | + | This function calculates the [http://mathworld.wolfram.com/Cosine.html cosine] of an angle '''e''', defined in [http://en.wikipedia.org/wiki/Radian radians]. The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse. It is a [http://en.wikipedia.org/wiki/Trigonometric_functions trigonometric function]. |
==Example== | ==Example== | ||
Line 26: | Line 26: | ||
*[[Sin]] | *[[Sin]] | ||
*[[Tan]] | *[[Tan]] | ||
− | *[[ | + | *[[Cot]] |
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Latest revision as of 12:42, 3 July 2011
Definition
function Cos(e: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
This function calculates the cosine of an angle e, defined in radians. The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse. It is a trigonometric function.
Example
begin WriteLn(Cos(Pi)); WriteLn(Cos(0)); end.
Output:
-1 1