Easy Tutorial
❮ Python Os Lstat Python Set ❯

Python math.asinh() Method

Python math Module

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

Python Version: 2.6

Syntax

The syntax for 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:

# Import math package
import math

# Print 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 Os Lstat Python Set ❯