Quadratic Equations with Discriminant