Difference between revisions of "COS()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return cosine value
 
Function to return cosine value
 
  
 
==Syntax==
 
==Syntax==
 
COS(<expN>)
 
COS(<expN>)
 
  
 
==See Also==
 
==See Also==
 
[[ACOS()]], [[ASIN()]], [[ATAN()]], [[ATN2()]], [[DTOR()]], [[EXP()]], [[LOG()]], [[LOG10()]], [[PI()]], [[RTOD()]], [[SET DECIMALS]], [[SET FIXED]], [[SIN()]], [[TAN()]]
 
[[ACOS()]], [[ASIN()]], [[ATAN()]], [[ATN2()]], [[DTOR()]], [[EXP()]], [[LOG()]], [[LOG10()]], [[PI()]], [[RTOD()]], [[SET DECIMALS]], [[SET FIXED]], [[SIN()]], [[TAN()]]
 
  
 
==Description==
 
==Description==
 
The COS() function returns the cosine of the angle <expN> expressed in radians.  The DTOR() function can be used for converting degrees to radians.  The SET DECIMALS command determines the number of decimal places returned.
 
The COS() function returns the cosine of the angle <expN> expressed in radians.  The DTOR() function can be used for converting degrees to radians.  The SET DECIMALS command determines the number of decimal places returned.
 
  
 
==Example==
 
==Example==
Line 21: Line 17:
 
   0.866025
 
   0.866025
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==
Recital Server, Recital
+
Lianja Server, Lianja
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Numeric Data]]
 
 
[[Category:Numeric Data Functions]]
 
[[Category:Numeric Data Functions]]

Latest revision as of 08:57, 4 February 2013

Purpose

Function to return cosine value

Syntax

COS(<expN>)

See Also

ACOS(), ASIN(), ATAN(), ATN2(), DTOR(), EXP(), LOG(), LOG10(), PI(), RTOD(), SET DECIMALS, SET FIXED, SIN(), TAN()

Description

The COS() function returns the cosine of the angle <expN> expressed in radians. The DTOR() function can be used for converting degrees to radians. The SET DECIMALS command determines the number of decimal places returned.

Example

set decimals to 6
? cos(dtor(30))
  0.866025

Products

Lianja Server, Lianja