Home > Foresight Analytics Platform > Web Application and Desktop Application > Application Development and Functionality Enhancement > Developing in Development Environment > Description of System Assemblies > MathFin > MathFin Assembly Interfaces > IMath > IMath.Sin
Sin(Value: Double): Double;
Value. The angle in radians, which sine must be found.
The Sin method returns the sine of the specified angle.
The Value parameter value cannot be empty and must be set as an end number.
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: