結果 : piecewise function problem example