cot()
returns the cotangent of a number.
Syntax: cot(expression)
Returns: A Float.
Arguments
Name | Description |
expression | A numeric expression that represents the angle in radians. |
Example
RETURN cot(1)
The value returned will be the cotangent of 1 radians, which is 0.6420926159343306.
Considerations
cot(null)
returnsnull
.cot(0)
returnsInfinity
.
Example
RETURN cot(0.341)
Returns the following Result
cot(0.341) |
2.81799362837734 |
Example
RETURN cot(-1.4)
Returns the following Result
cot(-1.4) |
-0.17247672583180004 |
Example
RETURN cot(0)
Returns the following Result
cot(0) |
Infinity |
Note– cot(0)
returns Infinity
.
Example
RETURN cot(null)
Returns the following Result
cot(null) |
null |
Note– cot(null)
returns null
.