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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:COT function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_TAN_function
 +
|NextPage=Documentation/How_Tos/Calc:_ACOS_function
 +
}}__NOTOC__
  
 
== COT ==
 
== COT ==
 
Returns the cotangent of the given angle (in radians).
 
Returns the cotangent of the given angle (in radians).
 
  
 
=== Syntax: ===
 
=== Syntax: ===
Line 9: Line 13:
  
 
: returns the (trigonometric) cotangent of <tt>'''angle'''</tt>, the angle in radians.
 
: returns the (trigonometric) cotangent of <tt>'''angle'''</tt>, the angle in radians.
 
  
 
: To return the cotangent of an angle in degrees, use the <tt>'''RADIANS'''</tt> function.
 
: To return the cotangent of an angle in degrees, use the <tt>'''RADIANS'''</tt> function.
 
  
 
: The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.
 
: The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.
 
  
 
=== Example: ===
 
=== Example: ===
Line 24: Line 25:
 
: returns <tt>'''1'''</tt>, the cotangent of <tt>'''45'''</tt> degrees.
 
: returns <tt>'''1'''</tt>, the cotangent of <tt>'''45'''</tt> degrees.
  
 +
{{SeeAlso|EN|
 +
* [[Documentation/How_Tos/Calc: COS function|COS]]
 +
* [[Documentation/How_Tos/Calc: SIN function|SIN]]
 +
* [[Documentation/How_Tos/Calc: TAN function|TAN]]
  
=== See also: ===
+
* [[Documentation/How_Tos/Calc: ACOS function|ACOS]]
'''[[Documentation/How_Tos/Calc: COS function|COS]]''',
+
* [[Documentation/How_Tos/Calc: ASIN function|ASIN]]
'''[[Documentation/How_Tos/Calc: SIN function|SIN]]''',
+
* [[Documentation/How_Tos/Calc: ATAN function|ATAN]]
'''[[Documentation/How_Tos/Calc: TAN function|TAN]]'''
+
* [[Documentation/How_Tos/Calc: ATAN2 function|ATAN2]]
 +
* [[Documentation/How_Tos/Calc: ACOT function|ACOT]]
  
'''[[Documentation/How_Tos/Calc: ACOS function|ACOS]]''',
+
* [[Documentation/How_Tos/Calc: RADIANS function|RADIANS]]
'''[[Documentation/How_Tos/Calc: ASIN function|ASIN]]''',
+
* [[Documentation/How_Tos/Calc: PI function|PI]]
'''[[Documentation/How_Tos/Calc: ATAN function|ATAN]]''',
+
'''[[Documentation/How_Tos/Calc: ATAN2 function|ATAN2]]''',
+
'''[[Documentation/How_Tos/Calc: ACOT function|ACOT]]'''
+
  
'''[[Documentation/How_Tos/Calc: RADIANS function|RADIANS]]''',
+
* [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]
'''[[Documentation/How_Tos/Calc: PI function|PI]]'''
+
  
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 +
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Mathematical functions]]

Latest revision as of 14:18, 31 January 2024

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=259839"
Views
Personal tools
Navigation
Tools
In other languages