Planetary Speed and Distance Grapher
In this section you will analyze the results you observed from running the Solar System Simulation by plotting the orbital speed and distances of the plants from the Sun.
Below is a graph of a the Solar System simulation run observing the orbital speed and distances between the planets. As you can see, the graph starts out with a planets with a smaller distance to the Sun having a high orbital speed, whereas if the distance between the planets and Sun increases, the orbital speed then decreases. Using this, you will complete the graph including all the planets.
If you would like to see the full code for plotting the planetary orbital speed and distance graph, click the Display Code button below:
Here is a code editor so that you can input your planetary orbital speeds and distance data points based on your observations made using the Solar System simulation.
This is how the orbital speed and distance inputs should look like:
orbital_speed = [47.87, 35.02, 29.78, 24.08]
distance = [0.39, 0.72, 1.00, 1.52]
order = 1 means linear fit (i.e. polynomial of degree 1)
order = 2 means quadratic fit (i.e. polynomial of degree 2)
doafit is what generates a fit line or curve based on the time and height inputs.
In the Solar System simulation, complete the graph of the orbital speed and distance. What do you notice in the shape of the curve? is it linear? parabolic?
Do you notice any similarites or differences in your graph compared with the graph above?
Does it resemble anything familiar that has been gone over before?
Go Back to Astronomy Exercises Page