We are given a piecewise function:
The limit as x approaches 3 exists and the limit is -8. `lim_(x->3^(-))=-8,lim_(x->3^(+))=-8` . Since the value of the function at x=3 is 2 which does not equal the limit, there is a nonremovable discontinuity at x=3. The function is continuous everywhere else.
The function is not differentiable at x=3, and wouldn't be if f(3)=-8 since the derivative from the left and right do not agree. The function is differentiable everywhere else.