IMath.ASin

Fore Syntax

ASin(Value: Double): Double;

Fore.NET Syntax

ASin(Value: double): double;

Parameters

Value. Angle sine.

Description

The ASin method returns the arcsine of the number.

Comments

The Value parameter value cannot be empty and must belong to the [-1;1] interval.

Fore Example

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

Sub UserProc;
Var
    r: Double;
Begin
    r := Math.ASin(-0.5);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the arcsine of the specified angle equal to -0.523598775598299.

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.ASin(-0.5);
    System.Diagnostics.Debug.WriteLine(r);

End Sub;

See also:

IMath