This Demonstration shows the forced oscillations of a spring mass damped system for the underdamped case. The differential equation is

, where

is the mass,

is the displacement,

is time,

is the damping coefficient,

is the stiffness, and

is the frequency.