I am trying to understand the continuity and differentiability of this function: $f(x) = \begin{cases} x\sin(\frac{1}{x}) & \text{if $x \ne 0$}\\ 0 & \text{if $x = 0$} \end{cases}$
If any indeterminate form arises in the calculation, I like to know how to deal with it and how to explain it.
Hint
It's indeed continuous but not derivable. For continuity : What is $$\lim_{x\to 0}x\sin(1/x)\ \ ?$$ For non derivability, show that $$\lim_{x\to 0}\sin(1/x)$$ doesn't exist.