Now let us see how we can calculate the motion of Neptune, Jupiter,
Uranus, or any other planet. If we have a great many planets, and let
the sun move too, can we do the same thing? Of course we can. We
calculate the force on a particular planet, let us say planet
number i, which has a position xi,yi,zi (i=1 may represent the sun,
i=2 Mercury, i=3 Venus, and so on). We must know the positions of
all the planets. The force acting on one is due to all the other
bodies which are located, let us say, at positions
xj,yj,zj. Therefore the equations are
Also,
∑ means a sum over all values of
j—all other
bodies—except, of course, for
j=i. Thus all we have to do is to
make more columns,
lots more columns. We need nine columns for
the motions of Jupiter, nine for the motions of Saturn, and so
on. Then when we have all initial positions and velocities we can
calculate all the accelerations from Eq. (
9.18) by first
calculating all the distances, using Eq. (
9.19). How long
will it take to do it? If you do it at home, it will take a very long
time! But in modern times we have machines which do arithmetic very
rapidly; a very good computing machine may take
1 microsecond, that
is, a millionth of a second, to do an addition. To do a multiplication
takes longer, say
10 microseconds. It may be that in one cycle of
calculation, depending on the problem, we may have
30 multiplications, or something like that, so one cycle will take
300 microseconds. That means that we can do
3000 cycles of
computation per second. In order to get an accuracy, of, say, one part
in a billion, we would need
4×105 cycles to correspond to one
revolution of a planet around the sun. That corresponds to a computation
time of
130 seconds or about two minutes. Thus it takes only two
minutes to follow Jupiter around the sun, with all the perturbations of
all the planets correct to one part in a billion, by this method! (It
turns out that the error varies about as the square of the
interval
ϵ. If we make the interval a thousand times smaller, it is a
million times more accurate. So, let us make the interval
10,000 times smaller.)