Forced dumped oscillations

In the following experiment the situation corresponding to the previous experiment but with a non zero damping factor is shown.

In this case, for time greater than 10 units or so, the amplitude of the oscillations gets a stable value. This happens when the energy supplied by the external force is balanced by the energy lost by friction.