Discriminant of a quadratic equation with parameter