Let f(x) be a continuous function in R. If the limit exists and it is a real number, find the value of so that the function g(x) =

is continuous

I am trying to prove that g(x) is differentiable, because when a function is differentiable is continuous as well, but I can't. Can anyone help?