Perform arithmetic on two complex numbers and show each result’s magnitude and phase.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Arithmetic operates on real and imaginary components using i² = −1. Modulus is √(a²+b²), and argument uses atan2(imaginary, real) before conversion from radians to degrees.
Real a: 1 Imaginary a: 2 Real b: 3 Imaginary b: 4 Operation: multiply
Real part: -5 Imaginary part: 10 Result display: -5 + 10i Modulus: 11.1803 Argument degrees: 116.5651 Argument radians: 2.0344 Polar form: 11.1803 at 116.5651 degrees
AC-circuit exercises add impedances, signal-processing lessons convert samples to magnitude and phase, and quadratic solvers inspect imaginary roots.