A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/javascript/javascript-math-asinh-method/ below:

JavaScript Math asinh() Method - GeeksforGeeks

JavaScript Math asinh() Method

Last Updated : 12 Jul, 2024

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:

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
// 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));

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
// Here different values is being used for
// getting hyperbolic sine function's values.
console.log(Math.asinh(2));

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
// Here different values is being used for
// getting hyperbolic sine function's values.
console.log(Math.asinh(0));

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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4