IMath.ACot

Fore Syntax

ACot(Value: Double): Double;

Fore.NET Syntax

ACot(Value: double): double;

Parameters

Value. Angle cotangent.

Description

The ACot method returns the arccotangent of value.

Comments

Parameter value cannot be empty.

To get the angle cotangent, use the IMath.Cot method.

Fore Example

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

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

After executing the example the console window displays the arccotangent of the specified angle equal to 0.463647609000806.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.MathFin;

Public Shared Sub Main(Params: StartParams);
Var
    r: double;
    math: MathClass = New MathClass();
Begin
    r := Math.ACot(2);
    System.Diagnostics.Debug.WriteLine(r);

End Sub;

See also:

IMath