Relative Content

Tag Archive for pythonsimulationrunge-kutta

How to simulate motion of 4 particles moving towards each other?

I have a problem that I need to simulate where there are four particles located at the corners of a square room with known lenght a. They are starting to move simultaneously and are supposed to move towards the closest neighbour until one of them reaches some other. They all have constant velocity V. I am supposed to use scipy.integrate.RK45 function.