If the sum of the roots of a quadratic equation is 5 and the product of the roots is also 5, then the equation is
For a quadratic equation ax2+bx+c=0,
sum of roots = −ba
product of roots = ca.
sum of roots =5 = −ba
product of roots = 5 = ca,
Thus, quadratic equation is x2−5x+5=0.