Home >>Python math Module >Python math.asinh() Method

Python math.asinh() Method

Python math.asinh() Method

Python math.asinh() Method in python is used to returns the hyperbolic arc sine of a given number in radians and it accepts only a number.

Syntax:
math.asinh(x)

Parameter Values

Parameter Description
x It is required a number to find the hyperbolic arc sine of and it returns a TypeError
Here is an Example of Python math.asinh() Method:

import math
print (math.asinh(4))
print (math.asinh(37))
print (math.asinh(1.72))
print (math.asinh(1))

Output:
2.0947125472611012
4.304247658249556
1.3109167267206685
0.881373587019543
Example 2:

import math 
x = -7
print("math.asinh(",x,"): ", math.asinh(x))
x = -7.12
print("math.asinh(",x,"): ", math.asinh(x))
x = 0
print("math.asinh(",x,"): ", math.asinh(x))
x = 1
print("math.asinh(",x,"): ", math.asinh(x))
x = 2.2
print("math.asinh(",x,"): ", math.asinh(x))
x = 5
print("math.asinh(",x,"): ", math.asinh(x))
x = 8.15
print("math.asinh(",x,"): ", math.asinh(x))

Output:
math.asinh( -7 ): -2.644120761058629
math.asinh( -7.12 ): -2.6609503321281145
math.asinh( 0 ): 0.0