Returns the hyperbolic arccosine (or inverse hyperbolic cosine) of a number.
Syntax
Math.acosh(number)
Parameters
The required number argument is a numeric expression.
Return Value
The inverse hyperbolic cosine of the number argument, in radians.
Example
The following code shows how to use the acosh function.
var v1 = Math.acosh(3);
vary v2 = Math.acosh(-1);
document.write(v1);
document.write("</br>");
document.write(v2);
// Output:
// 1.762747174039086
// NaN
Remarks
Applies To: Math Object
Requirements
Supported in Microsoft Edge (Edge browser). Also supported in Store apps (Microsoft Edge on Windows 10). See Version Information.
Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Not supported in Windows 8.1.
See Also
Math.acos Function
Math.asin Function
Math.atan Function
Math.cos Function
Math.sin Function
Math.tan Function
Math Object

