In the equation \({x}^{2}+mx+n=0\), \(m\) and \(n\) are integers. The only possible value for \(x\) is \(-3\). What is the value of m? Please show your work.
If we have
\((x+3)^2=0\)
then the only value for x is -3
Now \((x+3)^2\rightarrow x^2+6x+9\)
so m is 6 (and n is 9)
.