Hi all,
The code below calculates the dx/dt=u equation by euler method. This calculates the u for the position of each particles (np) and calculates the distance of particles (dist). My teacher told me by using for lop make this in 2 dimension? would you please tell me how?