The given quadratic equation , has equal roots.
Here, .
As we know that
Putting the values of .
The given equation will have real and equal roots, if D = 0
Thus,
Therefore, the value of p is −1, 3.
It is given that p ≠ −1, thus p = 3 only.
Now the equation becomes
Hence, the root of the equation is 3.