g(x)=

x+b, x<0

cosx, x greater than or equal to 0

Is there a value for b that will make g(x) continuous at x=0? Is there a value that will make g(x) differentiable at zero? If there is, what is it? If not, why not? Give reasons for your answeres.

Thanks