No the function is continuous at x = 2 as left hand limit is equal to right hand limit but the function is not differentiable at x = 2 as left hand derivative is not equal to right hand derivative.
Can anybody answer my doubt:
I want to know is the function continuous and differentiable at x = 1 and x = -3 i.e the ends.