- #1
Jozefina Gramatikova
- 64
- 9
Homework Statement
I have a project to make the Solar system on Python, which I have done, but they also require from us to calculate the total energy of the system. We don't have to make the orbits of the planets elliptical, they should be circular and I believe I made them like that. Since the orbits are circular I think the potential and kinetic energy of the planets shouldn't change. However, when I plotted both energies I noticed Mercury's potential energy oscillates. *Please tell me if Mercury's potential energy should oscillate having in mind that its orbit should be circular. Thanks*
Homework Equations
Potential energy:
The Attempt at a Solution
This is a piece of my code where the problem might be (if there is a problem)
Attachments
-
upload_2018-12-15_20-27-32.png990 bytes · Views: 951
-
upload_2018-12-15_20-28-3.png10.7 KB · Views: 912
-
upload_2018-12-15_20-30-19.png563 bytes · Views: 932
-
upload_2018-12-15_20-34-30.png13.3 KB · Views: 1,000
-
48388735_267718147436379_3590436185207472128_n.jpg?_nc_cat=103&_nc_ht=scontent-lhr3-1.jpg22.5 KB · Views: 1,159
-
48363578_370605647078369_8129958863207137280_n.jpg?_nc_cat=104&_nc_ht=scontent-lhr3-1.jpg26.7 KB · Views: 1,068
-
48270460_319917821945064_7069244744462761984_n.png?_nc_cat=106&_nc_ht=scontent-lhr3-1.png10.4 KB · Views: 1,027