Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
hi
I found a book in the movement of the planets around the masses. Rewrote all of the books but does not want to work. I would also like to make this move planets with animate to.
Solved! Go to Solution.
Please, find Odesolve command in your sheet. You wrote vector as x,y,x, but it must be x,y,z.
Please, find Odesolve command in your sheet. You wrote vector as x,y,x, but it must be x,y,z.
See attached.
Changed parameter in Create Space and type of graph from surface to scatter.
Look what happens if you change the interval in odesolve (from 1 to3 or greater)
Thanks to rosenm for finding the typo.
A description, esp. the meaning of your vars and functions wouls have been helpful.
Is F(t) a vector describung the position of moving a fifth planet (with mass 0???)
Does the attched help?
BTW, Freemake Video Converter did the job well. THnaks again.
If he was still visible lane 5 planet that would be great. The fifth planet has a mass very much less (close to zero) from 4 others.
Jan Kowalski schrieb:
If he was still visible lane 5 planet that would be great.
So why don't you add the path of the fifth planet?
I am not sure if that animations reflects real situation. What happens at 00:27/00:28 ? Bouncing back from the yellow planet or are we going round that planet so quickly that the animation did not catch it?
The odesolve is the previous value was inaccurate. You have to increase the number of step intervals. Or something like that.
Werner ,rosenm Thanks for your replay.
What happens here? It looks like the red "planet" is rejected by the yellow one.
Shown is the path between t=260 and t=276.
Try to enter the values shown by arrows(file.gif).Odesolve solves the equation in an approximate manner. The higher the number (intvls) the more accurate solution.
Odesolve([vector], x, b, [intvls])
in our case it b=500,intvls=20000.
I left b at 400 but the change of the intervals of odesolve does significantly affect the path of that planet. Decent accuracy is achieved by intervals>10^5. But then, solving an DE from 0 to 400 (!!) numerically is quite a task.
Attached the change of the path (t=260 to t=276) when changing the intervals of odesolve from 10^3 to 10^6.
At least it shows the the red planet goes around the yellow one as it should be.
See the example of how the function changes it, odesolve accuracy by changing the step parameter.
see file attached.
Significant, indeed. An the interval we are calculating the solution for is only from 0 to pi, not from 0 to some hundreds as we did with the planets.