IMath.Cot

Syntax

Cot(Value: Double): Double;

Parameters

Value. Angle in radians, which cotangent must be found.

Description

The Cot method returns the cotangent of the specified angle..

Comments

Value of the Value parameter cannot be empty or equal to 0.

Example

To execute the example, add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    r := Math.Cot(30);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the cotangent of the specified angle equal to 0.156119952161659.

See also:

IMath