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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 113: Line 113:
 
: returns <tt>'''1'''</tt>, the cotangent of <tt>'''45'''</tt> degrees.
 
: returns <tt>'''1'''</tt>, the cotangent 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:11, 16 July 2018


COT

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

Syntax:

COT(angle)

returns the (trigonometric) cotangent of angle, the angle in radians.
To return the cotangent of an angle in degrees, use the RADIANS function.
The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.

Example:

COT(PI()/4)

returns 1, the cotangent of PI/4 radians.

COT(RADIANS(45))

returns 1, the cotangent of 45 degrees.



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