Modeling eliptical motion of planets

AI Thread Summary
To model the elliptical motion of planets according to Kepler's second law, it's essential to move beyond the basic equations for uniform velocity, as planets do not exhibit this behavior. A more accurate approach involves using a three-dimensional model that accounts for the unique orbital planes and perihelion positions of each planet. While Kepler's laws provide a framework for understanding planetary motion, they are approximations and can degrade in accuracy over time, especially when considering gravitational interactions. For realistic modeling, incorporating Newton's laws of gravitation and orbital elements is crucial, although general relativity may be necessary for precise calculations, particularly for Mercury. Ultimately, a comprehensive model requires acknowledging the complexities of celestial mechanics and the interactions among multiple bodies in the solar system.
pompey
Messages
6
Reaction score
0
I am trying to write a simple java program to model the motion of planets according to kepler's second law. I have everything working...except I can't find how to find an equation relating position and time. I have

x = a cos(t)
y = b sin(t)

where a and b are the semimajor and semiminor axises respectively, but those equations are for uniform velocity which planets do not exhibit. I've googled around and looked in a few books but I can not find any such equation. I can find the equation for velocity...but I need a model for the actual position. Does anyone know of any such model or have any suggestions?
 
Physics news on Phys.org
A couple of caveats first. Kepler's laws are not quite correct. The solar system comprises the sun, eight planets, at least three dwarf planets, and a very large number of smaller bodies. Newton's law of gravitation dictates that these planets, etc will interact with each other as well as with the sun. Moreover, Newton's law of gravitation itself is not quite correct. General relativity is our best model of gravitation to date.

Bottom line: You can use Kepler's laws to propagate the states of the planets. The results however will slowly degrade in accuracy over time, eventually become little more than fiction.

The second caveat is that you have are treating this as a two dimensional problem. You need to go to three dimensions if you want to have more than one planet. Each planet has its own orbital plane that is slightly different from that of any other planet. Moreover, the planets have different arguments of perihelion.

The http://en.wikipedia.org/wiki/Kepler's_laws#Second_law" gives a four step algorithm for applying Kepler's second law. You need to add one more simple step to get the position of the planet in the orbital plane and with the positive x-axis aligned with the perihelion position: x=r\cos\theta, y=r\sin\theta.

You will need to use http://en.wikipedia.org/wiki/Orbital_elements" get something that is quite a bit more realistic and still uses Kepler's laws.
 
Last edited by a moderator:
While it is true that general relativity is needed in order to for example fully account for the orbit of Mercury, relativistic effects should not be significantly appreciable for the rest of the Solar system.

The (3-D!) Newtonian simplification is more than adequate in most cases concerning celestial mechanics.
 
I agree that with the exception of Mercury, Newton's Laws are more than adequate over a fairly long time span (thousands/tens of thousands of years, maybe a lot more??). In order to accurately model the solar system using the 3D Newtonian model one needs to consider the interactions among planets. Kepler's Laws are an additional approximation on top of Newton's laws.
 
Hello everyone, Consider the problem in which a car is told to travel at 30 km/h for L kilometers and then at 60 km/h for another L kilometers. Next, you are asked to determine the average speed. My question is: although we know that the average speed in this case is the harmonic mean of the two speeds, is it also possible to state that the average speed over this 2L-kilometer stretch can be obtained as a weighted average of the two speeds? Best regards, DaTario
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Back
Top