If one root of the equation\[{{x}^{2}}+px+12=0\]is 4, while the equation\[{{x}^{2}}+px+q=0\]has equal roots, then the value of 'q' is
A)\[\frac{49}{4}\]
B) 12
C) 3
D) 4
Correct Answer:
A
Solution :
Since, 4 is one of the roots of equation. So, it must satisfy the equation. The other equation iswhose roots are equal. Let roots be \[\alpha \] and \[\alpha \] of above equation. Sum of roots and product of roots