Consider the given equation (1),
x2+px−4=0
Put x=−4 and we get, (−4)2+px−4=0
⇒16−p−4=0
⇒−p=−12
⇒p=3
Put the value of p in given equation (2),
x2+px+k=0
⇒16−12+k=0
⇒k=−4
Hence, this is the answer.
If −5 is a root of the quadratic equation 2x2+px−15=0 and the quadratic equation p(x2+x)+k=0 has equal roots, find the value of k.