g(x)={1+cos(pi/2-x/1)

0

for-2 <or= x <or=2
for x<2 or x>2

is g(x) continuous at x=2 is it differentiable at x=2? ex[lain in detail I'm very confused as to how to solve this problem.