This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: pick 1 = 2 = 1 = 2 = 1, and start with any initial populations x and y that are away from the stationary points. 2. Consider the equation of a damped, driven simple harmonic oscillator d 2 y dt 2 + 2 q dy dt + 2 y = A cos t a) Find the analytical solution for y ( t ), neglecting the homogeneous solution describing transient behavior. b) Write a Fortran 77 or Fortran 90 code that uses the Verlet algorithm to determine y ( t ). Also in your code, compute the analytical solution y ( t ) at each time step for comparison. Determine a suitable time step so that the numerical and analytical solutions agree. Determine the resonant frequency where the amplitude is maximum. Run your simulation at exactly the resonant frequency. Hand in a plot of y ( t ) from your code that includes both the analytical and numerical results. 2...
View Full
Document
 Fall '08
 Johnson,M

Click to edit the document details