Differentiability Class/Examples/Class 0 Function with Derivative Discontinuous at Point

Example of Differentiability Class
Let $f$ be the real function defined as:


 * $\map f x = \begin {cases} x^2 \sin \dfrac 1 x & : x \ne 0 \\ 0 & : x = 0 \end {cases}$

Then $f \in C^0$ but $f \notin C^1$.

The latter is because $f'$ does not exist at $x = 0$.