Home Data Platform Cloud Reference Redpanda SQL Reference Functions Math cot Cloud Page options Copy as Markdown Copied! View as plain text Ask AI about this topic Add MCP server to VS Code cot The cot() function returns the cotangent of a specified angle, expressed in radians. See also cotd() for an angle expressed in degrees. Syntax COT(x) Arguments x: An angle, in radians, of type real or double precision. Return type Same as the input type (real or double precision). Examples Basic usage SELECT COT(0.5); cot ------------------- 1.830487721712452 (1 row) Different angle SELECT COT(1); cot -------------------- 0.6420926159343308 (1 row) Back to top Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback 🎉 Thanks for your feedback! cosh cotd