Question

2. PLOT the:

(a) Distance of the inner planets to the Sun (for each time index in an orbit),

(b) Distance of the outer planets to the Sun (for each time index in an orbit),

(c) Distance of the Sun from the origin (which is where x = 0, y = 0, and z = 0).

NOTE: Use [years] as the temporal unit and [AU] as the unit of distance for the plots

in this problem

Question image 1