Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Python math.asinh() Method

Python math.asinh() Method

Python math Module Python math Module

Python math.asinh(x) Returns the inverse hyperbolic sine of x.

Python version: 2.6

Syntax

The syntax of the math.asinh() method is as follows:

math.asinh(x)

Parameter Description:

Return Value

Returns a floating-point number representing the inverse hyperbolic sine of a number.

Example

The following example returns the inverse hyperbolic sine of different numbers:

Example

Import the math package

import

math

Output the inverse hyperbolic sine values

print

(

math

.

asinh

(

7

)

)

print

(

math

.

asinh

(

56

)

)

print

(

math

.

asinh

(

2.45

)

)

print

(

math

.

asinh

(

1

)

)

Output result:



2.644120761058629

4.718578581151767

1.6284998192841909

0.881373587019543

Python math Module Python math Module