Quadratic equation solver.