[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|               COS               |
+---------------------------------+
COS(<expN>)

-----------------------------------
Returns the cosine of <expN>.
Return value - Numeric
-----------------------------------

Returns the cosine of <expN>, an angle measured in radians.  An angle
measured in degrees may be converted to radians with the DTOR()
function.

The result returned by COS() will range between -1 and 1.  The number of
decimal points returned by COS() may be specified with the SET DECIMALS
command.

+---------------------------------+
|             Examples            |
+---------------------------------+
? COS(0)

? COS(PI())

? COS(DTOR(180))

STORE PI() * 3 TO angle
? COS(angle)

-----------------------------------

See Also:  ACOS(), DTOR(), RTOD(), SET DECIMALS

-----------------------------------

See Also: ACOS() DTOR() RTOD() SET DECIMALS
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson