- Polar coordinates are an alternative way of representing Cartesian coordinates or Complex Numbers.
- A complex number z = x + yj, is completely determined by its real part x and imaginary part y. Here, j is the imaginary unit.
- A polar coordinate (r,φ) is completely determined by modulus r and phase angle φ.
- If we convert complex number z to its polar coordinate, we find:
- r: Distance from to origin, i.e., √ (x^2 + y^2)
- φ: Counterclockwise angle measured from the positive x-axis to the line segment that joins z to the origin.
- Python's cmath module provides access to the mathematical functions for complex numbers.