*

Offline QED

  • *
  • Posts: 863
  • As mad as a hatter.
    • View Profile
Code for earth moon orbits
« on: May 04, 2019, 11:32:27 PM »
Since my reply in the other thread carelessly left out the actual link for the code, I thought I’d present it fresh for those interested.

https://stjarnhimlen.se/comp/tutorial.html

It is written in BASIC, and you just need to execute it.

Happy orbiting.

Tom - run the code and stop complaining please.

Also Tom - everyone knows that the orbits in this solar system are quasi-stable, and are degrading. Hence, your request for stable orbits is poisoning the well. Stability is not present, is not needed, and is irrelevant to this conversation. For discussion of bound orbits, stability is off-topic.
The fact.that it's an old equation without good.demonstration of the underlying mechamism behind it makes.it more invalid, not more valid!

- Tom Bishop

We try to represent FET in a model-agnostic way

- Pete Svarrior

*

Offline Tom Bishop

  • Zetetic Council Member
  • **
  • Posts: 10637
  • Flat Earth Believer
    • View Profile
Re: Code for earth moon orbits
« Reply #1 on: May 05, 2019, 05:34:48 PM »
That's not an n-body simulation. Newton's equations for gravity are expressed nowhere in that link.

That code is using the perturbation method of predicting the location of planets and celestial bodies, as described at Astronomical Prediction Based on Patterns - Perturbations

« Last Edit: May 05, 2019, 05:44:40 PM by Tom Bishop »

*

Offline QED

  • *
  • Posts: 863
  • As mad as a hatter.
    • View Profile
Re: Code for earth moon orbits
« Reply #2 on: May 05, 2019, 06:36:49 PM »
That's not an n-body simulation. Newton's equations for gravity are expressed nowhere in that link.

That code is using the perturbation method of predicting the location of planets and celestial bodies, as described at Astronomical Prediction Based on Patterns - Perturbations



You don’t want an n-body simulation, remember? You want the equations plotted. This will do that. Stop stalling. I predicted that you wouldn’t plot the equations and I was correct. Moreover, I predicted what diversion you would use, and was again correct.

I won’t respond to any more diversions you present regarding this topic. I have better things to do with my time.

This matter is closed until you decide to evaluate the evidence placed in front of you.

BTW, the longer you postpone doing so, the more foolish you will look. It is no problem for me to tolerate your refusal to plot them. At some later point which is advantageous to me, I will run the code, show you and everyone else the results, and use it to demonstrate that the evidence had been placed before you, and your intransigence against behaving zetetically cost time, resources, respect, and influence.
The fact.that it's an old equation without good.demonstration of the underlying mechamism behind it makes.it more invalid, not more valid!

- Tom Bishop

We try to represent FET in a model-agnostic way

- Pete Svarrior

*

Offline Tom Bishop

  • Zetetic Council Member
  • **
  • Posts: 10637
  • Flat Earth Believer
    • View Profile
Re: Code for earth moon orbits
« Reply #3 on: May 05, 2019, 08:47:57 PM »
You don’t want an n-body simulation, remember?

I do want an n-body simulation. We were talking about the three body problem and the n-body problems and whether the heliocentric orbits work with Newtonian physics. This addresses none of that. This is not an n-body simulation. This is based on Perturbation Theory, and is totally invalid for demonstrating the possibility of the sun-earth-moon system or 3+ body orbits.

*

Offline QED

  • *
  • Posts: 863
  • As mad as a hatter.
    • View Profile
Re: Code for earth moon orbits
« Reply #4 on: May 05, 2019, 11:35:22 PM »
You don’t want an n-body simulation, remember?

I do want an n-body simulation. We were talking about the three body problem and the n-body problems and whether the heliocentric orbits work with Newtonian physics. This addresses none of that. This is not an n-body simulation. This is based on Perturbation Theory, and is totally invalid for demonstrating the possibility of the sun-earth-moon system or 3+ body orbits.

You are wrong, and do not understand what you are reading. Again. This plots the equations you wanted, which are solutions for the the orbits.

It also handles perturbations from those orbits, which is a bonus, but not really relevant for our purposes. In other words, it provides more than you need.

Accounting for perturbations is not the same as perturbation theory. You are using those words wrong because you do not understand them.
The fact.that it's an old equation without good.demonstration of the underlying mechamism behind it makes.it more invalid, not more valid!

- Tom Bishop

We try to represent FET in a model-agnostic way

- Pete Svarrior

*

Offline Tom Bishop

  • Zetetic Council Member
  • **
  • Posts: 10637
  • Flat Earth Believer
    • View Profile
Re: Code for earth moon orbits
« Reply #5 on: May 06, 2019, 01:54:25 AM »
You think that these perturbations are different than the perturbation method of prediction described by the sources in the Wiki link? Interesting. However, and unfortunately, "I think that..." isn't very strong evidence. You should support your opinions. I encourage you to demonstrate yourself to be correct through references, sources or citations.

You also think that these predicted positions are the result of, or match with, an n-body simulation? Interesting again. If true, that is quite extraordinary. I can only encourage you once again to provide reference, source, or citation to strengthen your ideas and opinions.

*

Offline QED

  • *
  • Posts: 863
  • As mad as a hatter.
    • View Profile
Re: Code for earth moon orbits
« Reply #6 on: May 06, 2019, 05:31:29 AM »
You think that these perturbations are different than the perturbation method of prediction described by the sources in the Wiki link? Interesting. However, and unfortunately, "I think that..." isn't very strong evidence. You should support your opinions. I encourage you to demonstrate yourself to be correct through references, sources or citations.

You also think that these predicted positions are the result of, or match with, an n-body simulation? Interesting again. If true, that is quite extraordinary. I can only encourage you once again to provide reference, source, or citation to strengthen your ideas and opinions.

What purpose does it serve to provide references that you will not understand (intentionally or otherwise)?

Once again I have provided proof, and once again you claim it is not there. Interesting.

Do whatever you want, Tom. I shall continue:

1. Requesting that FET justify its claims

2. Requesting that FEers present a model

3. Refuting fraudulent criticisms of science with evidence.

What you do is rather irrelevant, because it involves no action.

Goodbye.
The fact.that it's an old equation without good.demonstration of the underlying mechamism behind it makes.it more invalid, not more valid!

- Tom Bishop

We try to represent FET in a model-agnostic way

- Pete Svarrior

Re: Code for earth moon orbits
« Reply #7 on: May 06, 2019, 05:48:32 PM »
Sorry QED, the simulation uses Kepler's laws along with the periodic perturbations between the gas giants. It is, literally, the exact problem that Tom was talking about.

I might make my own simulation later.
« Last Edit: May 06, 2019, 05:50:08 PM by 9 out of 10 doctors agree »
Recommended reading: We Have No Idea by Jorge Cham and Daniel Whiteson

Turtle Town, a game made by my brothers and their friends, is now in private beta for the demo! Feedback so far has been mostly positive. Contact me if you would like to play.

Re: Code for earth moon orbits
« Reply #8 on: May 06, 2019, 06:36:07 PM »
You think that these perturbations are different than the perturbation method of prediction described by the sources in the Wiki link? Interesting. However, and unfortunately, "I think that..." isn't very strong evidence. You should support your opinions. I encourage you to demonstrate yourself to be correct through references, sources or citations.

You also think that these predicted positions are the result of, or match with, an n-body simulation? Interesting again. If true, that is quite extraordinary. I can only encourage you once again to provide reference, source, or citation to strengthen your ideas and opinions.
Why don't YOU provide us references, sources or citations to prove your ideas and opinions? I am craving for these for years now.

*

Offline Tom Bishop

  • Zetetic Council Member
  • **
  • Posts: 10637
  • Flat Earth Believer
    • View Profile
Re: Code for earth moon orbits
« Reply #9 on: May 06, 2019, 11:10:05 PM »
Sorry QED, the simulation uses Kepler's laws along with the periodic perturbations between the gas giants. It is, literally, the exact problem that Tom was talking about.

I might make my own simulation later.

The issue is that Perturbation Theory is used to gradually add corrections to make data fit the formula of choice:

https://en.wikipedia.org/wiki/Perturbation_theory

Quote
This general procedure is a widely used mathematical tool in advanced sciences and engineering: start with a simplified problem and gradually add corrections that make the formula that the corrected problem becomes a closer and closer match to the original formula.

Quote
History

Perturbation theory was first devised to solve otherwise intractable problems in the calculation of the motions of planets in the solar system. For instance, Newton's law of universal gravitation explained the gravitation between two astronomical bodies, but when a third body is added, the problem was, "How does each body pull on each?" Newton's equation only allowed the mass of two bodies to be analyzed. The gradually increasing accuracy of astronomical observations led to incremental demands in the accuracy of solutions to Newton's gravitational equations, which led several notable 18th and 19th century mathematicians, such as Lagrange and Laplace, to extend and generalize the methods of perturbation theory. These well-developed perturbation methods were adopted and adapted to solve new problems arising during the development of quantum mechanics in 20th century atomic and subatomic physics. Paul Dirac developed perturbation theory in 1927 to evaluate when a particle would be emitted in radioactive elements.
« Last Edit: May 06, 2019, 11:18:27 PM by Tom Bishop »

*

Offline QED

  • *
  • Posts: 863
  • As mad as a hatter.
    • View Profile
Re: Code for earth moon orbits
« Reply #10 on: May 07, 2019, 02:09:22 AM »
Sorry QED, the simulation uses Kepler's laws along with the periodic perturbations between the gas giants. It is, literally, the exact problem that Tom was talking about.

I might make my own simulation later.

The issue is that Perturbation Theory is used to gradually add corrections to make data fit the formula of choice:

https://en.wikipedia.org/wiki/Perturbation_theory

Quote
This general procedure is a widely used mathematical tool in advanced sciences and engineering: start with a simplified problem and gradually add corrections that make the formula that the corrected problem becomes a closer and closer match to the original formula.

Quote
History

Perturbation theory was first devised to solve otherwise intractable problems in the calculation of the motions of planets in the solar system. For instance, Newton's law of universal gravitation explained the gravitation between two astronomical bodies, but when a third body is added, the problem was, "How does each body pull on each?" Newton's equation only allowed the mass of two bodies to be analyzed. The gradually increasing accuracy of astronomical observations led to incremental demands in the accuracy of solutions to Newton's gravitational equations, which led several notable 18th and 19th century mathematicians, such as Lagrange and Laplace, to extend and generalize the methods of perturbation theory. These well-developed perturbation methods were adopted and adapted to solve new problems arising during the development of quantum mechanics in 20th century atomic and subatomic physics. Paul Dirac developed perturbation theory in 1927 to evaluate when a particle would be emitted in radioactive elements.

Why is that a problem?
The fact.that it's an old equation without good.demonstration of the underlying mechamism behind it makes.it more invalid, not more valid!

- Tom Bishop

We try to represent FET in a model-agnostic way

- Pete Svarrior

*

Offline Tom Bishop

  • Zetetic Council Member
  • **
  • Posts: 10637
  • Flat Earth Believer
    • View Profile
Re: Code for earth moon orbits
« Reply #11 on: May 07, 2019, 02:27:51 AM »
Simply because it is adding a series of corrections to get to your ideal state, and is therefore not evidence for that ideal state. A series of corrections can get one to any state desired.

*

Offline markjo

  • *
  • Posts: 7849
  • Zetetic Council runner-up
    • View Profile
Re: Code for earth moon orbits
« Reply #12 on: May 07, 2019, 02:47:28 AM »
Simply because it is adding a series of corrections to get to your ideal state, and is therefore not evidence for that ideal state. A series of corrections can get one to any state desired.
The corrections are not added to get to an "ideal state".  The corrections are added to get the model to better match observations.  Isn't a model that accurately matches observations a good thing?
Abandon hope all ye who press enter here.

Science is what happens when preconception meets verification.

Ignorance more frequently begets confidence than does knowledge. -- Charles Darwin

If you can't demonstrate it, then you shouldn't believe it.

Re: Code for earth moon orbits
« Reply #13 on: May 07, 2019, 08:00:12 AM »
@Tom Bishop, the perturbations are derived from the theory and measurements of the planets and other objects.  The perturbations do not correct the theory of orbital motions; they are provided by that theory.  One begins the calculation of an object's orbit with a very rough approximation.  Then one of several standard recipes is used to "correct" that rough approximation so that it better matches the ideal Newtonian theory of orbital motion.

I know of only one exception: Newtonian mechanics is not sufficient for high-accuracy prediction of the orbit of Mercury.  In Mercury's case, General Relativity prescribes perturbations that should be applied to the Newtonian calculation of Mercury's orbit.  (Of course one can also calculate Mercury's orbit directly from GR.) 

*

Offline Tom Bishop

  • Zetetic Council Member
  • **
  • Posts: 10637
  • Flat Earth Believer
    • View Profile
Re: Code for earth moon orbits
« Reply #14 on: May 07, 2019, 10:17:52 AM »
The corrections are not added to get to an "ideal state".  The corrections are added to get the model to better match observations.  Isn't a model that accurately matches observations a good thing?

Adding corrections until the model matches observations makes the matter moot. Any model can be defined as the ideal state.

Quote from: The Listener
The perturbations do not correct the theory of orbital motions; they are provided by that theory.

Would this be backed up by your accompanying provided evidence of nothing at all?

That does not appear to be described anywhere. I encourage you to provide a direct citation for your statements.

*

Offline markjo

  • *
  • Posts: 7849
  • Zetetic Council runner-up
    • View Profile
Re: Code for earth moon orbits
« Reply #15 on: May 07, 2019, 01:28:47 PM »
The corrections are not added to get to an "ideal state".  The corrections are added to get the model to better match observations.  Isn't a model that accurately matches observations a good thing?

Adding corrections until the model matches observations makes the matter moot.
No.  Adding corrections until the model matches observations is the whole point of making models.  Understanding why the corrections to the model are necessary helps you to understand the workings of the system being modeled.  Even the ancient geocentrists added corrections to their models (epicycles and deferents) to better match their observations.
« Last Edit: May 07, 2019, 03:31:08 PM by markjo »
Abandon hope all ye who press enter here.

Science is what happens when preconception meets verification.

Ignorance more frequently begets confidence than does knowledge. -- Charles Darwin

If you can't demonstrate it, then you shouldn't believe it.

*

Offline QED

  • *
  • Posts: 863
  • As mad as a hatter.
    • View Profile
Re: Code for earth moon orbits
« Reply #16 on: May 07, 2019, 03:17:10 PM »

Adding corrections until the model matches observations makes the matter moot. Any model can be defined as the ideal state.

This is a claim which requires evidence. Until you can present evidence which demonstrates that any model can be defined as the ideal state, your claim remains unfounded.

In fact, I can disprove your claim using a proof by contradiction. All I need to do is find a model which cannot be defined as the ideal state. That model exists. It is the FE model. It cannot explain the terminus.

It would be a wonderful demonstration of your position is you could define the FE model to describe a 24 hour cycle :)

The fact.that it's an old equation without good.demonstration of the underlying mechamism behind it makes.it more invalid, not more valid!

- Tom Bishop

We try to represent FET in a model-agnostic way

- Pete Svarrior

Re: Code for earth moon orbits
« Reply #17 on: May 08, 2019, 08:40:02 AM »
Quote from: The Listener
The perturbations do not correct the theory of orbital motions; they are provided by that theory.

Would this be backed up by your accompanying provided evidence of nothing at all?

That does not appear to be described anywhere. I encourage you to provide a direct citation for your statements.

Considering the huge wealth of citations and software that others have provided in this and closely related threads recently, I don't think that I can add anything useful by providing more citations.  The disagreement seems to be about how to interpret these many sources, and I only intended my comment to help explain them.  I did notice one interesting quote in this thread here:

The issue is that Perturbation Theory is used to gradually add corrections to make data fit the formula of choice:

https://en.wikipedia.org/wiki/Perturbation_theory

Quote
This general procedure is a widely used mathematical tool in advanced sciences and engineering: start with a simplified problem and gradually add corrections that make the formula that the corrected problem becomes a closer and closer match to the original formula.

Note that the sentence that you quote from Wikipedia says that one uses the perturbations to obtain a "closer match to the original formula", not as you say to "make data fit the formula of choice".  Wikipedia's sentence is describing a situation in which one simplifies a complicated problem and obtains a formula that is the exact solution to the simplified problem but only an approximate solution of the complicated problem.  That formula is then corrected to more closely match the "original formula", which would be the exact solution of the complicated problem.  The corrections are called "perturbations", and they are prescribed by the original complicated problem.  You don't have to take my word for it.  If you read further in the Wikipedia article, it describes an example in which one wants to model the motion of the Earth, Moon, and Sun.  To simplify the problem, you start with the elliptical orbit of the Moon around the Earth.  You then add a perturbation corresponding to the force of the Sun according to F=ma.  If more accuracy is desired over a longer period, you can add more perturbations.

*

Offline Tom Bishop

  • Zetetic Council Member
  • **
  • Posts: 10637
  • Flat Earth Believer
    • View Profile
Re: Code for earth moon orbits
« Reply #18 on: May 08, 2019, 11:34:15 AM »
Give it another read. The F=ma example is the simplified state to which perturbations are applied; like the example of the simplified (traditional) model of the atom to which perturbations are applied because the simplified model does not represent reality.
« Last Edit: May 08, 2019, 12:02:15 PM by Tom Bishop »

Why Not

Re: Code for earth moon orbits
« Reply #19 on: May 08, 2019, 01:27:29 PM »
So it appears to me that tom wants a solution to the 3 body problem in the form of :
for time = x ; solve for the position of body's a,b and c
This doesn't have a solution at present. (ie THIS is the unsolved 3 body problem)
What can be done is to step through from time = 0 until time = x , calculating positions of a,b and c at each time step (the smaller the steps the better the accuracy)
This is where toms argument that the heliocentric solar system is not possible falls apart. The universe does not jump to time = x it progresses from time = 0.