IMath.CosH

Syntax

CosH(Value: Double): Double;

Parameters

Value. Real number, which hyperbolic cosine must be found.

Description

The CosH method returns the hyperbolic cosine of the specified number.

Comments

Value of the Value parameter 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.CosH(4);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the hyperbolic cosine equal to 27.3082328360165.

See also:

IMath