COT

circle-info

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentationarrow-up-right

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected]envelope.

Thank you for your understanding.

chevron-rightApplies tohashtag

Description

Returns the cotangent of the angle in radians sent through parameters (COT in Transact-SQLarrow-up-right).

The cosine is defined as: cot(x)=cos(x)sin(x)cot(x) = \frac{cos(x)}{sin(x)} or cot(x)=1tan(x)cot(x) = \frac{1}{tan(x)} To calculate the cosine, the parameter must comply with the constraints of sine and cosine functions.

Sample Source Pattern

Syntax

COT( expression )

Arguments

expression: Numeric float expression, where expression is in R{sin(expression)=0tan(expression)=0}\mathbb{R}-\{sin(expression)=0 \wedge tan(expression) =0\}.

Return Type

Numeric float expression in R\mathbb{R}.

Examples

Known Issues

No issues were found.

No related EWIs.

Last updated