Driven Harmonic Oscillator

A mass on a spring driven by an external periodic force. Amplitude peaks sharply at resonance ω = ω₀. Adjust damping to see how it broadens the peak.

A(ω) = F₀/m / √[(ω₀²−ω²)² + (γω)²]  |  ω₀ = 1 (natural frequency)