The given quadric equation is , and roots are real and equal.
Then, find the value of p.
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 4 or .
Now, for p = 4, the equation becomes
for p = , the equation becomes
Hence, the roots of the equation are .