This tool simulates a mass on a horizontal spring, letting you see how its position changes over time under different mass, damping and stiffness settings. Its motion follows the ODE below, where x is the displacement from equilibrium at time t, x′ is the velocity, x″ is the acceleration, and m, b and k are the mass, damping and stiffness parameters you can set in the panel below.
Set the parameters and watch the motion, the position–velocity phase portrait, and the time series move together.