CT_COS

 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()

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.