The position of a mass on a spring with spring constant , damping coefficient , and sinusoidal driver with amplitude and frequency , can be described by . Change the parameters in the system to see plots of position versus time or position versus velocity.
The initial position is variable but the initial velocity is fixed at 0. For illustrative purposes the damping coefficient, , may take on negative values in this Demonstration; in the case of a negative , it acts as an "amplifying" coefficient.