here's the question: the following equation has repeated roots. find the value of the constant p leaving your answer in exact form:

$\displaystyle px^2 - 5x + p = 0$

could someone show me the method to figure that out please?

thanks

ps the answer is $\displaystyle p = \pm \frac{5}{2}$