Difference between revisions of "Documentation/How Tos/Calc: COSfunction"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (See also:)
m (Robot: Automated text replacement %s)
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
  
 
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
 
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
 +
[[Category: Documentation/Reference/Calc]]

Latest revision as of 09:04, 24 November 2009


COS

Returns the cosine of the given angle (in radians).


Syntax:

COS(angle)

returns the (trigonometric) cosine of angle, the angle in radians.


To return the cosine of an angle in degrees, use the RADIANS function.


Example:

COS(PI()/2)

returns 0, the cosine of PI/2 radians

COS(RADIANS(60))

returns 0.5, the cosine of 60 degrees


See also:

SIN, TAN, COT

ACOS, ASIN, ATAN, ATAN2, ACOT

RADIANS, PI

Mathematical functions

Personal tools