Unformatted text preview: t . You may simply copy the code already developed to learn the basics of Fortran programming and the use of a simple text editor like vi. Compare a plot of θ vs. t over a few periods for the two methods. Also, compare the total energy vs. time computed from the two methods. How well do they compare to the analytical result? How does the computed trajectory depend on the time step Δ t ? Hand in a plot of θ vs. t and energy vs. t computed from both Euler and Euler-Cromer methods. 1...
View Full Document
- Fall '08
- Simple Harmonic Motion, Text editor, Euler