Difference between revisions of "Documentation/How Tos/Calc: ACOS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
Line 8: | Line 8: | ||
<tt>'''ACOS(number)'''</tt> | <tt>'''ACOS(number)'''</tt> | ||
− | : | + | : returns the inverse trigonometric cosine of <tt>'''number'''</tt>, in other words the angle (in radians) whose cosine is <tt>'''number'''</tt>. The angle returned is between <tt>'''0'''</tt> and <tt>'''PI'''</tt>. |
− | + | : To return the angle in degrees, use the <tt>'''DEGREES'''</tt> function. | |
− | :To return the angle in degrees, use the <tt>'''DEGREES'''</tt> function. | + | |
Revision as of 06:55, 8 December 2007
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.