$$\require{cancel}$$

# 3.1.3: Harmonic Motion and Resonance Simulation

The following simulation shows a driven, damped harmonic oscillator; a $$1\text{ kg}$$ mass on a spring with spring constant $$2\text{ N/m}$$. The displacement of the motion is graphed versus time. The driving frequency, $$f$$, can be adjusted so we expect that for one particular frequency we will see the amplitude (maximum displacement) of the motion to be very large; in other words, resonance will occur.

Several other parameters can also be adjusted. $$b$$ is the amount of friction in $$\text{Ns/m}$$ (this could be air resistance or sliding friction or friction in the spring itself); $$v_{o}$$ in $$\text{m/s}$$ is the initial velocity of the mass, and $$F_{o}$$ is the magnitude of the driving force in Newtons.

In this (and many other simulations we will use) it is easier to write $$\omega =2\pi f$$ where $$\omega$$ is the angular frequency in radians per second instead of having to write $$2\pi f$$ everywhere.

## Simulation Questions:

1. Start with the default parameters, drag the ball to the maximum starting position (or enter $$10.0\text{ m}$$ in the box for $$x_{o}$$) and hit play. How does this motion compare with simple harmonic motion (in the last chapter)?
2. Reset the simulation, change the friction parameter, $$b$$ to $$0.5\text{ Ns/m}$$, drag the ball to the maximum starting position ($$10\text{ m}$$) and hit play. (You can also click the button at the top for under damped motion.) What happens? This motion is called damped harmonic motion.
3. Try different values for $$b$$. How is the behavior of the mass for small values of $$b$$ (less than one) different than for values larger than $$2\text{ Ns/m}$$ (be sure to use the same starting position each time)?
4. If the mass oscillates at least once before stopping the damping is called underdamped motion. If the mass never quite gets back to the equilibrium position the motion is called overdamped. The case where there is just enough damping so that an oscillation does not occur (the mass just barely makes it back to equilibrium) is called critically damped motion. Click the buttons on the top for under, over and critically damped motion. Describe the differences between these three cases.
5. Reset the simulation, set the friction parameter, $$b$$ to $$1.0\text{ Ns/m}$$ and the magnitude of the driving force, $$F_{o}$$ to $$1.0\text{ N}$$. The angular frequency should be $$1.0\text{ rad/s}$$ also. Drag the ball to the maximum starting position and hit play. In this and the next few questions you will need to wait $$10\text{ s}$$ or so for the motion to stabilize. Describe the stable motion after the initial oscillations for this case. This motion is called driven, damped harmonic motion.
6. Experiment with different amounts of force, keeping friction and angular frequency equal to one. Also start from the same position each time. What is the effect of larger values of force amplitude, $$F_{o}$$ on the final, stable motion of the mass?
7. With damping, $$b$$ set to $$0.2\text{ Ns/m}$$ and $$F_{o}$$ set to $$1.0\text{ N}$$ try several values of the angular driving frequency, $$\omega$$. Start with a value of $$1.1\text{ rad/s}$$ and increase by $$0.1$$ each time until you get to $$1.8\text{ rad/s}$$. In each case, wait until the animation ends and measure the amplitude by clicking on the top of the curve near the end. The second number in the yellow box is the amplitude in $$\text{m}$$. Write down the amplitude for each driving frequency. Which driving frequency ended up giving the largest amplitude? (This is the resonance frequency of the system.)
8. The natural frequency, written as $$f_{o}$$ is given by the stiffness of the spring, $$κ$$, and the mass; $$f_{o} = (κ/m)^{1/2}/2π$$ and is measured in $$\text{Hz}$$. In this simulation the mass is $$1\text{ kg}$$ and the spring constant is $$2\text{ N/m}$$ so $$f_{o} = 0.225\text{ Hz}$$ and the natural angular frequency, $$\omega _{o} = 2\pi f$$ equals $$1.41\text{ rad/s}$$. In the previous question you should have seen the maximum amplitude for a driving frequency of $$1.41\text{ rad/s}$$. In other words a driving frequency, $$\omega$$ of $$1.41\text{ rad/s}$$ leads to resonance (maximum amplitude) because it equals the natural frequency, $$\omega _{o}$$. In the previous question, did you get a maximum amplitude for a driving frequency of $$1.41\text{ rad/s}$$?
9. Use a calculator to find the natural frequency for a spring and mass system with $$m=2.0\text{ kg}$$ and $$κ = 5.0\text{ N/m}$$. What do you expect the resonance frequency to be for this case?

1. The mathematical formula that describes damped harmonic motion is $$Ae^{-\gamma t}\cos (\omega t+\phi )$$ where $$\gamma =b/2m$$. Notice that this is the same cosine function for simple harmonic motion but the amplitude, $$A$$, is multiplied by an exponentially decreasing function of time, $$e^{-\gamma t}$$. So we expect the oscillation of a damped harmonic oscillator to be an up and down cosine function with an amplitude that decreases over time. Check to see if the formula $$Ae^{-\gamma t}\cos (\omega t+\phi )$$ really does describe the behavior of damped harmonic motion in the simulation. To do this, use a graphing calculator (or go to meta calculator and chose graphing calculator or use desmos calculator) and plot $$y = 10*exp(-.2 * x) * cos(1.*x)$$. This is the case $$A = 10\text{ m}; b = 0.4\text{ Ns/m}; m = 1.0\text{ kg}$$; and $$\omega = 1.0\text{ rad/s}$$. (You can cut and paste the equation into the online calculator). How does this graph compare with the simulation for these same parameters (note: you are only interested in the positive x values)?
2. The mathematical formula that describes driven, damped harmonic motion is $$A_{o}\cos (\omega t+\phi )$$ where $$A_{o} = (F_{o} /m) / ((\omega ^{2} -\omega _{o}^{2})^{2} + 4 \gamma ^{2}\omega ^{2})^{1/2}$$. In this case the amplitude, $$A_{o}$$ does not change over time but it is dependent on the driving frequency, $$\omega$$. What happens to the amplitude, $$A_{o}$$, when $$\omega =\omega _{o}$$ (assume all the other factors are constant numbers)? Is there any other combination of $$\omega$$ and $$\omega _{o}$$ that gives a larger amplitude?
3. Verify your previous answer by making a plot of $$A_{o} = (F_{o}/m) / ((\omega ^{2} -\omega _{o}^{2})^{2} + 4 \gamma ^{2}\omega ^{2})^{1/2}$$ for a range of driving frequency. To do this, use a graphing calculator to graph $$y = 1.0 / ((1.4^2 - x^2)^2 + 4*.04*1.4^2)^.5$$. Where does this graph have a maximum for positive values of $$x$$?