On Oct 12, 1:09 pm, Rolandb <rola...@planet.nl> wrote: > Hi, I'm interested in the motion of planets around the sun. Before I > 'reinvent the wheel', maybe someone has made a simple model and he/she > is willing to share it?
I have a number of packages that do this, not explicitly in Sage, but all with open source available. Here is a Java solar system model: http://arachnoid.com/dark_energy/space_applet.html Here is the source (Java): http://arachnoid.com/dark_energy/space_applet_listing.html Here is another project with the same goal, in both Ruby and C++: http://arachnoid.com/ruby/gravity/index.html Here is the Ruby source (zip file): http://arachnoid.com/ruby/gravity/rubygravitation.zip Here is the C++ source (tar.bz2 archive): http://arachnoid.com/ruby/gravity/gravity.tar.bz2 These programs are pretty self-explanatory. You may know there are no closed-form solutions for orbital systems with more than two bodies, so all solutions are numerical. All the above packages formally solve their orbital systems using the canonical physical values that govern real-world orbital dynamics. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---