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

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
Line 3: Line 3:
 
== ACOS ==
 
== ACOS ==
 
Returns the inverse cosine (the arccosine) of a number.
 
Returns the inverse cosine (the arccosine) of a number.
 
  
 
=== Syntax: ===
 
=== Syntax: ===
Line 11: Line 10:
  
 
: To return the angle in degrees, use the <tt>'''DEGREES'''</tt> function.
 
: To return the angle in degrees, use the <tt>'''DEGREES'''</tt> function.
 
  
 
=== Example: ===
 
=== Example: ===
Line 19: Line 17:
 
<tt>'''DEGREES(ACOS(0.5))'''</tt>
 
<tt>'''DEGREES(ACOS(0.5))'''</tt>
 
: returns <tt>'''60'''</tt>. The cosine of <tt>'''60'''</tt> degrees is <tt>'''0.5'''</tt>.
 
: returns <tt>'''60'''</tt>. The cosine of <tt>'''60'''</tt> degrees is <tt>'''0.5'''</tt>.
 
  
 
=== See also: ===
 
=== See also: ===

Revision as of 06:38, 2 March 2008


ACOS

Returns the inverse cosine (the arccosine) of a number.

Syntax:

ACOS(number)

returns the inverse trigonometric cosine of number, in other words the angle (in radians) whose cosine is number. The angle returned is between 0 and PI.
To return the angle in degrees, use the DEGREES function.

Example:

ACOS(-1)

returns 3.14159265358979 (PI radians).

DEGREES(ACOS(0.5))

returns 60. The cosine of 60 degrees is 0.5.

See also:

COS, SIN, TAN, COT,

ASIN, ATAN, ATAN2, ACOT

DEGREES, PI

Mathematical functions

Personal tools