Skip to content
Related Articles
Open in App
Not now

Related Articles

JavaScript Math asinh() Method

Improve Article
Save Article
  • Last Updated : 02 Jan, 2023
Improve Article
Save Article

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

if y = asinh(x) then x = sinh(y) We have, acosh(x)=ln(x+√ x2+1 )

Syntax: 

Math.asinh(x)

Parameters: This function accepts a single parameter:

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

Below is an example of the Math.asinh( ) Method.

Example 1: This example shows the hyperbolic arc-sine of the numbers passed as parameters.

JavaScript




<script>
    // Here different values is being used for
    // getting hyperbolic sine function's values.
    console.log(Math.asinh(3));
    console.log(Math.asinh(22));
    console.log(Math.asinh(-1));
    console.log(Math.asinh(1));
</script>


Output:

 1.8184464592320668
 3.7847057630994327
-0.881373587019543
 0.881373587019543

Example 2: In this example, a positive integer “2” is passed as a parameter in the math.asinh() function.It returns the hyperbolic arc-sine of the passed parameter.

Javascript




<script>
    // Here different values is being used for
    // getting hyperbolic sine function's values.
    console.log(Math.asinh(2));
</script>


Output: 

1.4436354751788103

Example 3: In this example, “0” is passed as a parameter in the math.asinh() function.It returns the hyperbolic arc-sine of the passed parameter.

Javascript




<script>
    // Here different values is being used for
    // getting hyperbolic sine function's values.
    console.log(Math.asinh(0));
</script>


Output:

0

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

  • Google Chrome 38.0
  • Internet Explorer 12.0
  • Firefox 25.0
  • Opera 8.0
  • Safari 25.0

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!