IMath.Sin

Syntax

Sin(Value: Double): Double;

Parameters

Value. The angle in radians, which sine must be found.

Description

The Sin method returns the sine of the specified angle.

Comments

The Value parameter value cannot be empty and must be set as an end number.

Example

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

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

After executing the example the console window displays the sine of the specified angle equal to 1.

See also:

IMath