3.5.1.2.19 Cot

Contents

Description

The cot(x) function returns value of cotangent for each value of the given x. This and other trigonometric functions can take values in radians, degrees, and gradian. The units are determined by (which can also be set in ).

Syntax

double cot(double x)

Parameter

x

can be any real number.

Return

Returns the cotangent of x.

Example

aa = cot(10);
aa = ; //should return 1.5423510453569

See Also

, , , ,