Numerical model of the Solar System: Difference between revisions

Content deleted Content added
m Integration: sp 'developping' -> 'developing'
m Integration: sp 'accelaration' -> 'acceleration'
Line 41:
v.new = v.old + a.old * dt
 
As in essence the acceleration used for the whole duration of the timestep, is the one as it was in the begining of the timestep, this simple method has no high accuracy. Much better results are achieved by taking a mean accelarationacceleration, the average between the begining value and the expected (unperturbed) end value:
 
a.old = gravitationfunction(x.old)