結果 : piecewise function sample problems