Home >>Python math Module >Python math.atanh() Method
Python math.atanh() Method in python is used to returns hyperbolic arc tangent of a given number in radians and it accepts a number (it must lie between -0.99 to 0.99).
Syntax:math.atanh(x)
Parameter | Description |
---|---|
x | It is required a number to find the hyperbolic arc tanget of a number, and If the value is not a number, it returns a TypeError |
import math
print (math.atanh(0.17))
print (math.atanh(-0.18))
import math
z = -0.13
print("math.atanh(",z,"): ", math.atanh(z))
z = 0
print("math.atanh(",z,"): ", math.atanh(z))
z = .77
print("math.atanh(",z,"): ", math.atanh(z))