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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 111: Line 111:
 
: returns <tt>'''1'''</tt>, the tangent of <tt>'''45'''</tt> degrees.
 
: returns <tt>'''1'''</tt>, the tangent of <tt>'''45'''</tt> degrees.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: COS function|COS]]
 
* [[Documentation/How_Tos/Calc: COS function|COS]]
 
* [[Documentation/How_Tos/Calc: SIN function|SIN]]
 
* [[Documentation/How_Tos/Calc: SIN function|SIN]]

Revision as of 19:14, 16 July 2018


TAN

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

Syntax:

TAN(angle)

returns the (trigonometric) tangent of angle, the angle in radians.
To return the tangent of an angle in degrees, use the RADIANS function.

Example:

TAN(PI()/4)

returns 1, the tangent of PI/4 radians.

TAN(RADIANS(45))

returns 1, the tangent of 45 degrees.



See Also


Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_TAN_function&oldid=243313"
Views
Personal tools
Navigation
Tools