COT

Description

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

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

SELECT COT(1)

Last updated