Python cmath.atanh() method is used to returns the inverse hyperbolic tangent of a number.
This method cuts two branch:
Extends from 1 (continuous from below) along the real axis to ∞
Extends from -1 (continuous from above) along the real axis to -∞Syntax:
|x||It is required parameter to find the inverse hyperbolic arctangent of a number|
import cmath print (cmath.atanh(1+ 2j))
import cmath print (cmath.atanh(1+ 1j))