I am making a simulation of the inner planets of the solar system using the three-step Beeman scheme. I am confused about how to display the planets. for my starting inputs I have the data from NASA JPL website, so for the Earth I have the following:
These values are huge so how do I convert these to the cartesian coordinates that JAVA uses?
Planet Name positionX positionY velocityX(km/s) velocityY(km/s) radius acceleration mass(kg)
Earth -1.685246520883574E-01 9.687833042792607E-01 -1.723394582127405E-02 -3.007660313409631E-03 50 0 5.9736e+24