The full question is uploaded here: https://i.stack.imgur.com/zwIlv.jpg
Basically, given the graph shown in the image above, I thought that the limit of $\sin(f(x))$ would be $\sin(2)$, since the limit of just $f(x)$ is $2$. However, my teacher says that it is $\sin(3)$, since $f(x) = 3$ at that point. Can anyone explain why it is one and not the other?
Also, if you could provide a source, that would be great, so I can show my teacher if I am right.
Thanks.
You are correct, your teacher is not. Since $\lim\limits_{x\to 1}f(x)=2$, we have $$\lim\limits_{x\to 1}\sin(f(x))=\sin\left(\lim\limits_{x\to 1}f(x)\right)=\sin(2)$$ as in general we have $\lim\limits_{x\to a}g(f(x))=g(\lim\limits_{x\to a}f(x))$ whenever $g$ is continuous and $\lim\limits_{x\to a}f(x)$ exists.