If one root of the equation x2+px+12=0~is~4,while the equation
x2+px+q=0 has equal roots, the value of q is
494
It is given that, 4 is the root of the equation
x2+px+12=0∴16+4p+12=0⇒p=−7
It is also given that, the equationx2+px+q=0has equal roots. So, the discriminant ofx2+px+q=0 will be zero. ∴p2−4q=0⇒4q=(−7)2=49⇒q=494