Homwork #1

Due September 24, 2009

The assignment is to create a set of procedures that will create a plot of the orbits of the planets.

Create a main routine called PLOT_PLANETARY.PRO
Inside it, set the max size of the plot in AU and the inclination of view toward the system.

Create a subroutine to be called from the main and call it DEFINE_SYSTEM.PRO
Inside it, define the planetary orbits and return the information to the main.

Create a subroutine to be called from the main and call it PLOT_SYSTEM.PRO
It should take the information about the system and create a plot of the concentric ellipses. Put a circle the size of the Sun in the middle.

Use your system to create two plots, one of the inners solar system and one of the outer.