What is math.asinh() in Python?
The in-built asinh() function from the math module in Python is used to return the inverse hyperbolic sine of a number in radians.
Figure 1 shows the mathematical representation of the asinh() function.
Syntax
math.asinh(x)
Parameter
This function requires a positive or negative number as a parameter.
Return value
asinh(x) returns a float value that is the inverse hyperbolic sine of a number sent as a parameter.
Example
import math#Parameter as a positive numberprint ("The value of asinh(5) is:", math.asinh(5))#Parameter as a negative numberprint ("The value of asinh(-7) is:", math.asinh(-7))