結果 : piecewise function problems with solution