a) Give an example of a function, whose limit exists as x approaches 2, but it is not continuous at x=2

b)Give an example of a function that is not differentiable at x=2, but it is continuous at x=2