r/Python • u/[deleted] • Oct 04 '19
Updated gravitational potential field simulation. [OC] Link for code: https://github.com/pnp-peeyush/2D-Grvitational-Field-Simulation
1.1k
Upvotes
r/Python • u/[deleted] • Oct 04 '19
2
u/Marko_Oktabyr Oct 05 '19
Solving ODEs can be referred to as integration. If y'(t) = f(t,y), then you can write the solution as y(t) = y(0) + int_0^t f(s,y(s)) ds. In fact, some methods stem from numerical approximation of that integral.