The JavaScript ACOSH function is a Math function, which calculates the trigonometry hyperbolic Arc cosine for a specified expression. JavaScript Acosh is also called an inverse hyperbolic cosine function. The syntax of the JavaScript ACOSH Function is
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> JavaScript ACOSH Function </title> </head> <body> <h1> JavaScript ACOSH 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> <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>
