結果 : solve the initial value problem with piecewise right hand side