
ax = -GMEx/(x2+y2)3/2, ay = -GMEy/(x2+y2)3/2.
Write a spreadsheet or computer program to find the position of the object as a function of time. Assume that the initial position of the object is at x = 0, y = 2RE, where RE is the radius of the Earth, and give the object an initial velocity of 5km/s in the x direction. The time increment should be made as small as practical. Try 5s.
Your spreadsheet should look similar to the one shown below.
| A | B | C | D | E | F | G | H | |
| 1 | time | x | y | ax | ay | vx | vy | r |
| 2 | 0 | 0 | 1.27E+07 | 0 | -2.45842 | 5.60E+03 | 0 | 12740000 |
| 3 | 5 | 2.80E+04 | 1.27E+07 | -0.005403 | -2.45841 | 5599.99 | -12.29 | 12740000 |
| 4 | 10 | 5.60E+04 | 1.27E+07 | -0.010806 | -2.45839 | 5599.95 | -24.58 | 12740000 |
| Use SI units consistently. | |||||
| For ax and ay use the formulas given above, and let them refer to the x and y values in the same row. | |||||
| Use the given initial conditions for x, y, vx, and vy in the first row. Let r = SQRT(x2+y2). | |||||
Use x = x0
+ vxDt
and y = y0
+ vyDt
with x0 , y0, vx, and vy from
the previous row to find x and y in later rows. See Serway, page 160
for a discussion of the Euler method.
| |||||
Use vx = vxo
+ axDt
and vy = vy0
+ ayDt
with vxo , vyo, ax, and ay from
the previous row to find vx and vy in later
rows.
| |||||
| If you use 5s time intervals you need to copy your formulas down approximately 3000 rows for one complete revolution. | |||||
| Produce a scatter
plot of y versus x similar to the plot shown below.
| |||||
Vary the magnitude of the initial velocity until a circular orbit is
found.
| |||||
| Add three columns to your spreadsheet to calculate the kinetic energy, potential energy and total energy as a function of time. (Set the mass of orbiting the object equal to 1kg.) How do they vary with time? (Note the potential energy and the total energy will be negative.) |
To earn extra credit add your name and e-mail address to your spreadsheet and submit your spreadsheet for an initial speed of 5km/s and for the initial speed corresponding to your most circular orbit. In a few sentence describe how the kinetic, potential and total energy vary with time in those two cases. What is the initial velocity for this most circular orbit?
Save your Excel document (your name_exm8.xls) and attach it to an e-mail messageto your instructor.
![]()
If you prefer to use another software package or programming language instead of Excel, you are welcome to do so. (You are also welcome to use more advanced numerical methods if you are familiar with them.) You must submit your program, plots, and answers to earn extra credit points.