結果 : piecewise function example problems