CosH(Value: Double): Double;
CosH(Value: double): double;
Value. Real number, which hyperbolic cosine must be found.
The CosH method returns the hyperbolic cosine of the specified number.
Value of the Value parameter 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.CosH(4);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the hyperbolic cosine equal to 27.3082328360165.
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.CosH(4);
System.Diagnostics.Debug.WriteLine(r);
End Sub;
See also: