結果 : step function and piecewise function