How Can Kepler's Third Law Be Applied to Multi-Object Systems in Visual Python?

  • Thread starter Thread starter Suiram
  • Start date Start date
  • Tags Tags
    Multiple
AI Thread Summary
Kepler's Third Law can be applied to multi-object systems by considering each planet's effects on the Sun separately or through numerical integration of mutual gravitational forces. For a project simulating the solar system with Earth and Jupiter, one approach is to treat the planets as having negligible mass while calculating their influence on the Sun. A proposed method involves using Kepler's laws to determine trajectories and then allowing the Sun to move based on the center of mass of the system. The discussion highlights the complexity of the three-body problem and suggests using Bayesian methods to analyze observed data. Ultimately, numerical integration is recommended as the standard approach for solving such gravitational interactions.
Suiram
Messages
2
Reaction score
0
Hi, I am doing a physics project at school, which consists of recreating our solar system (with the sun and only 2 planets, Earth and Jupiter) with Visual Python. Then we want to measure the speed variation of the sun caused by both planets, to determine its period in a graph, which would allow us to find Earth's distance from the sun and Earth's mass. (In resume, I want to find an exoplanet, from a distance, in a binary system) But I just realized that Kepler's third law generalized (P^2 = (4 Pi^2 a^3)/(G(m1+m2)) )is for a binary system...

I was wondering if any of you know about the equation for a system who has more than one object? I'm looking forward to doing it with the whole solar system if possible.
 
Physics news on Phys.org
What you're asking for is a solution for a gravitational three-body problem - a problem notorious for its complexity. Fortunately, you can consider the planets masses negligible when applying Kepler's law.
 
Last edited:
Well there are two ways to approach it.
1) consider each planet separately and calculate its effects on the Sun as if it were the only planet.
2) calculate all of the mutual forces of each object on the others and do a numerical integration.

#1 can be done using Kepler's laws and solving Kepler's equation. You'll have to sum the results somehow.
#2 isn't terribly difficult once you understand how to proceed with a numerical integration, but getting to that point can be tough going.
 
What we're going to do is make a graph using python, with the speed of the sun due to the interference of both planets, and try to find the individual effects of each since its going to show me 2 superimposed sinusoidal functions. Not really sure about how it's going to work, but I'm pretty sure that the three-body problem is pushing the problem too far. And we can't take both planets separatly, because we're trying to simulate it as if we were the observers and were trying to determine the characteristics with only what we can see from a distance. For the moment, we're going to try it with the Bayes theorem, using 6 factors instead of 3 (observed speed, period and phasing, times 2 because there are two planets). What do you think? Any other ideas?
 
Last edited:
Suiram said:
Any other ideas?
Numerical integration of the underlying ordinary differential equations. This is the standard approach.
 
Do it that way

Step 1: assume the sun is fixed and find the trajectories of the planets using Kepler's laws and completely neglecting any interaction between the planets.

Step 2: allow the sun to move now, use the planetary motion found in step 1 and find the motion of the sun by requiring the center of mass of the whole system to remain fixed.
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...
Back
Top