ODE45 simulation with three springs