r/programming • u/ttsiodras • Dec 23 '12
Simulating a solar system with Python
http://users.softlab.ntua.gr/~ttsiod/gravityRK4.html
244
Upvotes
r/programming • u/ttsiodras • Dec 23 '12
View all comments
Show parent comment
1
u/f4hy Dec 24 '12
Why not something like Crank Nicholson integration, it is unitary so conserves energy. I suppose it might be slower to compute than Runge-Kutta, but I never understood why it is not more widely used.