\(E\left(x\right)=f\left(x\right)\)
\(\Leftrightarrow x^2+\left(m+2\right)x+n=x^2-3x+5\)
\(\Leftrightarrow\hept{\begin{cases}m+2=-3\\n=5\end{cases}\Leftrightarrow\hept{\begin{cases}m=-5\\n=5\end{cases}}}\)
Vậy với m=-5,n=5 thì \(E\left(x\right)=f\left(x\right)\)