ESBArCosh Function
Returns the inverse hyperbolic cosine of X.

Unit
QESBPCSMath

Declaration
Function ESBArCosh(const X: Extended): Extended;

Description
Only Positive solutions are returned. Be aware that -X is also a valid result.

Parameters
Value to process.

Category
Arithmetic Routines for Floats

Implementation

function ESBArCosh (const X: Extended): Extended;
begin
     if X < 1 then
          raise EMathError.Create (rsNotDefinedForValue);

     Result := Ln (X + Sqrt (Sqr (X) - 1));
End;


HTML generated by Time2HELP
http://www.time2help.com