The equation of motion for a spring -mass system excited by a harmonic force is M¨x+kx=Fcos(ωt)
where M is the mass, k is the spring stiffness, F is the force amplitude and ω is the angular frequency of excitation. Resonance occurs when ω is equal to