Complex numbers and quadratic equations