Complex Numbers
Nerd Cafe
1. What Is a Complex Number?
Definition (Mathematics)
Example:
Python Representation
Output:
2. Basic Operations
Addition
Subtraction
Multiplication
Division
Python Operations
Output:
3. Modulus of a Complex Number
Formula:
Example:
Python:
Output:
4. Complex Conjugate
Definition:
Python:
Output:
5. Polar Form of a Complex Number
Formula:
Python:
Output:
6. Euler's Formula
7. Convert Between Cartesian and Polar Forms
Python:
Convert to Polar:
Output:
Convert to Rectangular:
Output:
8. Powers and Roots
Power:
n-th Roots:
Python (Using cmath):
cmath):Output:
9. Plotting Complex Numbers (Optional Visualization)
Output:

Summary Cheat Sheet
Concept
Python Function
Keywords
Last updated