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

From Apache OpenOffice Wiki
Jump to: navigation, search
m
(See also:)
Line 35: Line 35:
  
 
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
 
'''[[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''']]

Revision as of 07:13, 13 September 2008


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:

COS, SIN, TAN

ACOS, ASIN, ATAN, ATAN2, ACOT

RADIANS, PI

Mathematical functions

Functions listed alphabetically, Functions listed by category

Personal tools