Define f : R → R by
f (x) := (x²0 if x ∈ Q,
(otherwise.
Prove that f is differentiable at 0, but discontinuous at all points except 0.