Python simulation of a coupled mass–spring–damper system under an impulse input, comparing Euler and Heun (RK2) methods against odeint, with damping-ratio estimation and error analysis.
scipy numerical-methods runge-kutta dynamic-systems euler-method control-systems-engineering mass-spring-damper heun-method mechanical-systems ode-simulation
-
Updated
Feb 2, 2026 - Python