Cot

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 the system.math.angularunits object property (which can also be set in the Options dialog box).

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

Sin, Cos, Tan, Secant, Csc