Next: Two dimensional trajectories
Up: Equations of motion (2nd
Previous: Exercise 1.5: Gravitational force
The two coupled first order equations
define a harmonic oscillator with period . Compute the position
and momentum as a function of time using a generalization of
the previous code. Plot the results for and =0.
Investigate the accuracy with which the system returns to the initial
state at integral values of .
Figure 2:
Object in a two dimensional trajectory
under the effect of gravitational and dragging forces
|
Adrian E. Feiguin
2004-06-01