Let f(x) = {(x2|cos(π/x)| : x ≠ 0), (0, : x = 0) then f is

(a) differentiable both at x = 0, x = 2
(b) differentiable at x = 0 but not differentiable at x = 2.
(c) differentiable at x = 2 but not differentiable at x = 0.
(d) neither differentiable at x = 0 nor at x = 2.