# If 2 is a root of the equation x2+kx+12=0 and the equation x2+kx+q=0 has equal roots, find the value of q.

2
Log in to add a comment

Log in to add a comment

2 is a root of the equation.

Then, 4+2k+12=0.

Then, 2k+16=0.

So, 2k= -16.

Therefore, k= -8.

x2+kx+q=0.

x2-8k+q=0.

Equal roots, so b2 =4ac.

64=4*1*q

q=16.