Difference between revisions of "Documentation/How Tos/Calc: ATAN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m (→See also:) |
m |
||
Line 3: | Line 3: | ||
== ATAN == | == ATAN == | ||
Returns the inverse tangent (the arctangent) of a number. | Returns the inverse tangent (the arctangent) 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(ATAN(1))'''</tt> | <tt>'''DEGREES(ATAN(1))'''</tt> | ||
: returns <tt>'''45'''</tt>. The tangent of <tt>'''45'''</tt> degrees is <tt>'''1'''</tt>. | : returns <tt>'''45'''</tt>. The tangent of <tt>'''45'''</tt> degrees is <tt>'''1'''</tt>. | ||
− | |||
− | |||
=== See also: === | === See also: === |
Revision as of 06:39, 2 March 2008
ATAN
Returns the inverse tangent (the arctangent) of a number.
Syntax:
ATAN(number)
- returns the inverse trigonometric tangent of number, in other words the angle (in radians) whose tangent is number. The angle returned is between -PI/2 and PI/2.
- To return the angle in degrees, use the DEGREES function.
Example:
ATAN(1)
- returns 0.785398163397448 (PI/4 radians).
DEGREES(ATAN(1))
- returns 45. The tangent of 45 degrees is 1.