Relationship between roots and coefficients of a quadratic equation