結果 : step function vs piecewise function