JavaScript acosh

The JavaScript acosh function is a Math function that calculates the trigonometry hyperbolic Arc cosine for a specified expression. The Acosh is also called an inverse hyperbolic cosine function, and its syntax is shown below.

Math.acosh(number);

JavaScript ACOSH Function Example

We find the JavaScript hyperbolic Arc Cosine values of different data types and display the output.

<!DOCTYPE html>
<html>
<head>
    <title> JavaScriptACOSHFunction </title>
</head>
<body>
  <h1> JavaScriptACOSHFunction </h1>
  <p id = "Pos"></p>
  <p id = "Neg"></p>
  <p id = "Dec"></p>
  <p id = "Neg_Dec"></p>
  <p id = "Str"></p>
  <p id = "Exp"></p>
  <p id = "Null"></p>
  <p id = "Multi"></p>
  <script>
    document.getElementById("Pos").innerHTML = Math.acosh(10);
    document.getElementById("Neg").innerHTML = Math.acosh(-20);
    document.getElementById("Dec").innerHTML = Math.acosh(14.45);
    document.getElementById("Neg_Dec").innerHTML = Math.acosh(-12.75);
    document.getElementById("Str").innerHTML = Math.acosh("JavaScript");
    document.getElementById("Null").innerHTML = Math.acosh(null);
    document.getElementById("Multi").innerHTML = Math.acosh(25 + 55 - 37);
  </script>
</body>
</html>
JavaScript ACOSH Function Example