Berserk Docs
Scalar FunctionsMath Functions

cot

Returns the cotangent of the input angle in radians.

Syntax

cot(x)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print cot(1)
print_0 (real)
0.6420926159343306

On this page