cot()

Calculates the trigonometric cotangent of the specified angle, in radians.

Syntax

cot(number)

Learn more about syntax conventions.

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