JavaScript Math acosh() Method

• Last Updated : 02 Jan, 2023

The Javascript Math.acosh() method is used to get the hyperbolic arc-cosine of a number. The hyperbolic arc-cosine is known by many names such as hyperbolic inverse cosine and acosh. It is the inverse of the hyperbolic cosine method i.e, The inverse hyperbolic cosine of any value say x is the value y for which the hyperbolic cosine of y is x.

`if y = acosh(x) then x = cosh(y) For all x≥1, we have acosh(x)=ln(x+√ x2-1 )`

Syntax:

`Math.acosh(x)`

Parameters: This method accepts a single parameter:

• x: Here x is a number whose hyperbolic arc-sine is going to be calculated.

Example: Below is an example of the Math acosh( ) Method.

JavaScript

 ``

Output:

```1.3169578969248166
0
1.7627471740390859
2.993222846126381```

Example: Here output 0 is the hyperbolic arc-cosine of numbers.

Javascript

 ``

Output:

```2.2924316695611777
3.088969904844603
0.9624236501192069
NaN```

We have a complete list of Javascript Math Objects methods, to check those please go through this Javascript Math Object Complete reference article.

Supported Browsers:

• Google Chrome 38.0
• Internet Explorer 12.0
• Firefox 25.0
• Opera 8.0
• Safari 25.0
My Personal Notes arrow_drop_up