[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'math' (#rtl)

arcosh

Return inverse hyperbolic cosine

Declaration

Source position: math.pp line 259

function arcosh(

  x: float

):float;

Description

Arcoshreturns the inverse hyperbolic cosine of its argument x. The argument xshould be larger than 1. The arccoshvariant of this function is supplied for Delphi compatibility.

Errors

If the argument xis not in the allowed range, an EInvalidArgumentexception is raised.

See also

cosh

  

Return hyperbolic cosine

sinh

  

Return hyperbolic sine

arcsin

  

Return inverse sine

arsinh

  

Return inverse hyperbolic sine

artanh

  

Return inverse hyperbolic tangent

tanh

  

Return hyperbolic tangent

Example

Program Example3;

{ Program to demonstrate the arcosh function. }

Uses math;

begin
  Writeln(arcosh(1));
  Writeln(arcosh(2));
end.