Differentiability Of Piecewise Functions - Calculus