Difference between revisions of "Documentation/How Tos/Calc: COS function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:COS function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_Mathematical_functions
 +
|NextPage=Documentation/How_Tos/Calc:_SIN_function
 +
}}__NOTOC__
  
 
== COS ==
 
== COS ==
Line 18: Line 23:
 
: returns <tt>'''0.5'''</tt>, the cosine of <tt>'''60'''</tt> degrees
 
: returns <tt>'''0.5'''</tt>, the cosine of <tt>'''60'''</tt> degrees
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: SIN function|SIN]]
 
* [[Documentation/How_Tos/Calc: SIN function|SIN]]
 
* [[Documentation/How_Tos/Calc: TAN function|TAN]]
 
* [[Documentation/How_Tos/Calc: TAN function|TAN]]
* [[Documentation/How_Tos/Calc: COT function|COT]]'''
+
* [[Documentation/How_Tos/Calc: COT function|COT]]
  
 
* [[Documentation/How_Tos/Calc: ACOS function|ACOS]]
 
* [[Documentation/How_Tos/Calc: ACOS function|ACOS]]
Line 27: Line 32:
 
* [[Documentation/How_Tos/Calc: ATAN function|ATAN]]
 
* [[Documentation/How_Tos/Calc: ATAN function|ATAN]]
 
* [[Documentation/How_Tos/Calc: ATAN2 function|ATAN2]]
 
* [[Documentation/How_Tos/Calc: ATAN2 function|ATAN2]]
* [[Documentation/How_Tos/Calc: ACOT function|ACOT]]'''
+
* [[Documentation/How_Tos/Calc: ACOT function|ACOT]]
  
 
* [[Documentation/How_Tos/Calc: RADIANS function|RADIANS]]
 
* [[Documentation/How_Tos/Calc: RADIANS function|RADIANS]]
* [[Documentation/How_Tos/Calc: PI function|PI]]'''
+
* [[Documentation/How_Tos/Calc: PI function|PI]]
  
* [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
+
* [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]
  
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Mathematical functions]]

Latest revision as of 14:15, 31 January 2024

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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_COS_function&oldid=259836"
Views
Personal tools
Navigation
Tools
In other languages