Write a function which is differentiable at infinite many points as well as non-differentiable at infinite many points.