JavaScript Math asinh() Method

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

  • Example:
    filter_none

    edit
    close

    play_arrow

    link
    brightness_4
    code

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

    chevron_right

    
    

  • Output:
     1.8184464592320668
     3.7847057630994327
    -0.881373587019543
     0.881373587019543
    

The Math.asinh() method is used to get hyperbolic arc-sine of a number. The hyperbolic arc-sine is known by many names such as hyperbolic inverse sine and asinh. It is inverse of the hyperbolic sine function i.e, The inverse hyperbolic sine of any value say 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)