Relation between roots and coefficients of quadratic equations