May as well announce my Java applet that simulates Newton's law of gravitation. The initial conditions are set to give a demonstration of conservation of angular momentum. That is, 8 test masses are launched, all with the same angular momentum, and their orbits cross on the other side of the gravitating body.(adsbygoogle = window.adsbygoogle || []).push({});

http://www.gaugegravity.com/testapplet/SweetGravity.html [Broken]

The above is written in Java. The source code is here:

http://www.gaugegravity.com/testapplet/SwGrav_Top.java [Broken]

I'll eventually get around to adding other versions of gravity. I'd like to add GR with the usual Schwarzchild solution, and also with the flat space gauge gravity version developed at Cambridge.

http://www.mrao.cam.ac.uk/~clifford/

Unfortunately, my first effort at figuring out the force equation for gauge gravity has left me lost in a morass of algebra. The source paper I'm using is here:

If someone can help with this, do comment. The equation used for Newton's gravity is quite simple, amounting to

[tex]\frac{d\vec{v}}{dt} = \frac{\vec{r}}{r^3}[/tex]

Carl

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Simulation for Newton's gravity, GR to be added later.

**Physics Forums | Science Articles, Homework Help, Discussion**