Question
If $f(x) = \left\{ {\begin{array}{*{20}{c}} {m{x^2} + n,} \\ {nx + m,} \\ {n{x^3} + m,} \end{array}} \right.\begin{array}{*{20}{c}} {x < 0} \\ {0 \le x \le 1} \\ {x > 1} \end{array}$ .For what integers m and n does both $\mathop {\lim }\limits_{x \to 0} f(x)$ and $\mathop {\lim }\limits_{x \to 1} f(x)$ exist?