Solve quadratic equations with real coefficients that have complex solutions