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
7
u/jminuse Dec 23 '12
His Verlet integration doesn't seem to multiply the acceleration by the timestep squared. That would explain why he thinks it's the same as Euler, and why he gets the wrong answers from it. In a way he demonstrates his point, though: stick to Euler because it's easier to get right.