Question: Writr a code in python where two planetary bodies, the first with 8 5 % of the earth mass, and about the size of the

Writr a code in python where two planetary bodies, the first with 85% of the earth mass, and about the size of the earth, the second about 10% of the mass of the earth, and about the radius of mars. The two bodies should smash into each other, and we should see what happen. They also have densities that are proportional to thier masses and volume. They should be able to break appart. Newtons law of gravity should be taken into account. The larger body should act as a solid when smash (ei not change) the smaller should act as a liquid and act according to the laws of gravity after impact (ei the particles should orbit the earth like body)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!