How many real roots exist if the discriminant of the equation=0?

one

recall that the roots are

-b/2a ±√(discriminant)

so, if the discriminant is zero, both roots are -b/2a