On This Page

Home / Search/ Language Reference/ Functions/ Scalar Functions/ Mathematical Functions/cot

cot ​

The cot function calculates the trigonometric cotangent of the specified angle, in radians.

Syntax ​

cot( X )

Arguments ​

  • X: A real number.

Results ​

The cotangent function value for X.

Examples ​

This example returns 0.6173696237835551:

print num = 45
| extend newField = cot( num )