Complex Number Arithmetic

Adds, subtracts, multiplies or divides the complex numbers a + bi and c + di. Multiplication uses i² = −1 to tidy the result, and division multiplies top and bottom by the conjugate c − di so that the denominator becomes a real number.