카테고리:

숫자 함수 (삼각)

COT

인자의 코탄젠트를 계산하며, 인자는 라디안으로 표현해야 합니다.

구문

COT( <input_expr> )
Copy

Arguments

input_expr

The value or expression to operate on. The data type must be FLOAT or DECFLOAT.

Returns

If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.

SELECT COT(0), COT(PI()/3), COT(RADIANS(90));

--------+--------------+------------------+
 COT(0) | COT(PI()/3)  | COT(RADIANS(90)) |
--------+--------------+------------------+
 inf    | 0.5773502692 | 6.123233996e-17  |
--------+--------------+------------------+
Copy