ID: Class: 11 Subject: Math Topic: Limits and Derivatives Type: Subjective Year: null

Question:

If $f(x)=\begin{cases}mx^{2}+n,&x<0\\ nx+m,&0\le x\le1\\ nx^{3}+m,&x>1\end{cases}$, for what integers $m$ and $n$ does both $\lim_{x\rightarrow0}f(x)$ and $\lim_{x\rightarrow1}f(x)$ exist?