Skip to main content

COT

Returns the cotangent of x, where x is given in radians.

Syntax​

COT( <x> )

Examples​

SELECT COT(12);

┌─────────────────────┐
│ cot(12) │
├─────────────────────┤
│ -1.5726734063976895 │
└─────────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today