Skip to main content

COT

Categories: Math

COT

Computes the cotangent of a value in radians.

Syntax

COT(numeric_expression NUMERIC) → FLOAT

  • numeric_expression: The number in radians. This must be DOUBLE, INTEGER, or FLOAT.

Examples

COT example
SELECT COT(0)
-- 1.0
COT example
SELECT COT(1.0)
-- 0.5403023058681398
COT example
SELECT COT(-1)
-- 0.5403023058681398