cot()
Learn how to use the cot() function to calculate the trigonometric cotangent of the specified angle in radians.
Calculates the trigonometric cotangent of the specified angle, in radians.
Syntax
cot(number)
Parameters
| Name | Type | Required | Description | 
|---|---|---|---|
| number | real | ✔️ | The value for which to calculate the cotangent. | 
Returns
The cotangent function value for number.
Example
print cot(1)
Output
| result | 
|---|
| 0.64209261593433065 | 
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.