Home >>Python cmath Module >Python cmath.atan() Method
Python cmath.atan() method in python is used to return the arc tangent of a complex number. This method has two branch cuts:
One extends from 1j (continuous from the right.) along the imaginary axis to ∞j
The other extends from -1j (continuous from the left) along the imaginary axis to -∞j
Syntax:cmath.atan(x)
Parameter | Description |
---|---|
x | It is a required parameter to find the arctangent of a number |
import cmath
print (cmath.atan(4 + 3j))
import cmath
print (cmath.atan(7 + 11j))