Python math.asinh() Method
Example
Return the inverse hyperbolic sine of different numbers:
# Import math Library
import math
# Return the inverse hyperbolic
sine of numbers
print(math.asinh(7))
print(math.asinh(56))
print(math.asinh(2.45))
print(math.asinh(1))
Try it Yourself »
Definition and Usage
The math.asinh()
method returns the inverse hyperbolic sine of a number.
Syntax
math.asinh(x)
Parameter Values
Parameter | Description |
---|---|
x | Required. A positive or negative number. If x is not a number, it returns a TypeError |
Technical Details
Return Value: | A float value, representing the inverse hyperbolic sine of a number |
---|---|
Python Version: | 2.6 |