 
  Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the use of Math.asinh() and Math.acosh() functions in javascript?
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
<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
<html> <body> <script> document.write(Math.acosh(2)); document.write("</br>"); document.write(Math.acosh(7)); </script> </body> </html> Output
1.3169578969248166 2.6339157938496336
Advertisements
 