If both sum and product of roots of the quadratic equation mx² – 5x + n = 0 are equal to 10. Then the values of m and n will be _____?

If both sum and product of roots of the quadratic equation mx² – 5x + n = 0 are equal to 10. Then the values of m and n will be _____?

Explanation

Given the quadratic equation:

mx² - 5x + n = 0

Sum of roots = -(-5)/m = 5/m

Product of roots = n/m

Given:

Sum of roots = Product of roots = 10

So, 5/m = 10 => m = 1/2

And n/m = 10 => n = 10m = 10 * (1/2) = 5