I found this question in a maths-group in Facebook-
What are the values of $p$ so that equation $x^3+(p-2)x^2+(5-2p)x-10=0$ has exactly $2$ real roots........
I think we do not count repeated roots as one root. I'm confused about the meaning of the question. Please explain.
The polynomial has a root $x=2$ as can be seen; this can be verified by replacing x by 2 in the polynomial. By division, the polynomial can be seen to factor into: $(x-2)(x^2+px+5)$. For the polynomial to have only 2 real roots, $x^2+px+5$ must have only one root. This happens if its discriminant $p^2-20=0$. The two values for $p$ are then $2 \sqrt5$ and $-2 \sqrt5$. The two roots of the polynomial are the 2 and either $\sqrt5$ or $-\sqrt5$.