Piecewise function: Continuous? Differentiable?

Change functions f(x) and g(x). Drag point P along the x-Axis. Is there a value of x where the piecewise function is continuous? Differentiable?

情報: Piecewise function: Continuous? Differentiable?