sum and product of roots of quadratic equation