JavaScript ATANH

The JavaScript ATanh function is a Math function which calculate the trigonometry hyperbolic Arc Tangent for the specified expression. Arc Tangent is also called as inverse hyperbolic Tangent. The syntax of the JavaScript ATanh Function is:


JavaScript ATanh Function Example

In this ATANH example, we are going to find the JavaScript hyperbolic Arc Tangent values of different data types and display the output

<!DOCTYPE html>
    <title> JavaScript ATANH Function </title>
  <h1> JavaScript ATANH Function </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>
  <p id = "Out"></p>
    document.getElementById("Pos").innerHTML = Math.atanh(1);
    document.getElementById("Neg").innerHTML = Math.atanh(-1);
    document.getElementById("Dec").innerHTML = Math.atanh(0.45);
    document.getElementById("Neg_Dec").innerHTML = Math.atanh(-0.75);
    document.getElementById("Str").innerHTML = Math.atanh("JavaScript");
    document.getElementById("Null").innerHTML = Math.atanh(null);
    document.getElementById("Multi").innerHTML = Math.atanh(0.25 + 0.55 - 0.77);
    document.getElementById("Out").innerHTML = Math.atanh(25);
JavaScript ATANH Function