Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>cos()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 COS()
 Computes the cosine
------------------------------------------------------------------------------
 Syntax

     COS(<nArc>) --> nCosine

 Argument

     <nArc>  Designates a radian value for which the cosine is
     determined.

 Returns

     COS() returns the cosine value specified in <nArc>.

 Description

     COS() computes the angle cosine measured in radians.

 Note

     .  If you want the values specified in degrees, you can convert
        them with the DTOR() function.

 Example

     Compute the cosine:

     ? STR(COS(0), 18, 15)               // 1.000000000000000
     ? STR(COS(PI() /4), 18, 15)         // 0.707106781186548
     ? STR(COS(PI() /2), 18, 15)         // 0.000000000000000
     ? STR(COS(PI() *99.5), 18, 15)      // 0.000000000000000
     ? STR(COS(PI() /9), 18, 15)         // 0.939692620785908


See Also: SIN() TAN() COT() DTOR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson