b) Given the values of v1, ly, and bz, other parameters of the orbit are given by simple formulas can that be derived from Kepler's laws and the fact that the orbit is an ellipse: a = }(l1 + l2), b = Vlz, Semi-major axis: Semi-minor axis: 2лаb Orbital period: l2 – l1 Orbital eccentricity: z+4 Write a program that asks the user to enter the distance to the Sun and velocity at perihelion, then calculates and prints the quantities l2, v2, T, and e. c) Test your program by having it calculate the properties of the orbits of the Earth (for which l1 = 1.4710 x 101 m and v = 3.0287 x 10* ms-1) and Halley's comet (l1 = 8.7830 x 1010 m and vi = 5.4529 x 104 ms-1). Among other things, you should find that the orbital period of the Earth is one year and that of Halley's comet is about 76 years.
b) Given the values of v1, ly, and bz, other parameters of the orbit are given by simple formulas can that be derived from Kepler's laws and the fact that the orbit is an ellipse: a = }(l1 + l2), b = Vlz, Semi-major axis: Semi-minor axis: 2лаb Orbital period: l2 – l1 Orbital eccentricity: z+4 Write a program that asks the user to enter the distance to the Sun and velocity at perihelion, then calculates and prints the quantities l2, v2, T, and e. c) Test your program by having it calculate the properties of the orbits of the Earth (for which l1 = 1.4710 x 101 m and v = 3.0287 x 10* ms-1) and Halley's comet (l1 = 8.7830 x 1010 m and vi = 5.4529 x 104 ms-1). Among other things, you should find that the orbital period of the Earth is one year and that of Halley's comet is about 76 years.
Related questions
Question
This question involves some coding. We are using Juypter Lab to do our coding. If the coding cannot be done that is fine as I would just use that part to see how others do the coding (like tricks and special commands). Otherwise just solving the equations as needed would be fine. Thanks!
Expert Solution
Trending now
This is a popular solution!
Step by step
Solved in 9 steps with 9 images