Find the value of k for which the quadratic equation (3k+1)x2+2(k+1)x+1=0 has equal roots. Also, find the roots.
Find the values of p for which the quadratic equation (p+1)x2−6(p+1)x+3(p+9)=0,p≠−1 has equal roots. Hence, find the roots of the equation.