Find the values of p for which the quadratic equation (2p+1)x2−(7p+2)x+(7p−3)=0 has real and equal roots.