結果 : piecewise function example problem