
William W. answered 12/12/20
Math and science made easy - learn from a retired engineer
To be continuous then when you plug in x = 2 to both parts, you'd need to get the same value.
To be differentiable, both parts would need to have the same slope at x = 2