How does a damped harmonic oscillator react to an external driving force at a different frequency?
We plot two responses corresponding to different initial positions and velocities, which you can set. You'll discover that initial conditions eventually become irrelevant. Use the sliders to adjust driving frequency, amplitude, damping, and initial conditions. Look for resonant behavior, find how it’s affected by frequency tuning and damping.




0



Here's the relevant lecture.

Program by: Nathaniel Saxe