# What is the use of Math.asinh() and Math.acosh() functions in javascript?

JavascriptObject Oriented ProgrammingFront End Technology

Math.asinh() and Math.acosh() functions are used to find the hyperbolic arc-sine and hyperbolic arc-cosine of a number respectively. These functions are static methods of Math, therefore they are always used as Math.asinh() and Math.acosh(), rather than as methods of a math object created.

## Math.asinh()

This method is used to find the hyperbolic arc-sine of a number. It takes a number as a parameter and returns hyperbolic sine value.

### Example

Live Demo

<html>
<body>
<script>
document.write(Math.asinh(2));
document.write("</br>");
document.write(Math.asinh(7));
</script>
</body>
</html>

### Output

1.4436354751788103
2.644120761058629

## Math.acosh()

This method is used to find the hyperbolic arc-cosine of a number. It takes a number as a parameter and returns hyperbolic cosine value.

### Example

Live Demo

<html>
<body>
<script>
document.write(Math.acosh(2));
document.write("</br>");
document.write(Math.acosh(7));
</script>
</body>
</html>

### Output

1.3169578969248166
2.6339157938496336
Published on 31-Jul-2019 17:34:10