結果 : what makes a piecewise function continuous and differentiable