(2) (20 points) Determine the continuity and differentiability of
\[ f(x) = \begin{cases} x \sin(\frac{1}{x}), & x \neq 0 \\ 0, & x = 0. \end{cases} \text{ and } g(x) = \begin{cases} x^2 \sin(\frac{1}{x}), & x \neq 0 \\ 0, & x = 0. \end{cases} \]
(2) (20 points) Determine the continuity and differentiability of
\[ f(x) = \begin{cases} x \sin(\frac{1}{x}), & x \neq 0 \\ 0, & x = 0. \end{cases} \text{ and } g(x) = \begin{cases} x^2 \sin(\frac{1}{x}), & x \neq 0 \\ 0, & x = 0. \end{cases} \]