Returns the cotangent of an angle given in radians.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
COT(number)The COT function calculates the cotangent of an angle specified in radians. It is the reciprocal of the tangent function, defined as 1 divided by the tangent of the angle.
=COT(PI()/4)Kết quả: 1
Calculates the cotangent of PI/4 radians (45 degrees), which is 1.
You must convert the degrees to radians first using the RADIANS function, for example: =COT(RADIANS(45)).