GitHubContribute in GitHub: Edit online

cot()

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)

Results

print_0
0.64209261593433065