All Questions
1
question
1
vote
3
answers
2k
views
Why does my gravity simulation do this? [closed]
For a school project i created a simple 2D gravity sim in Matlab using the simplest possible method. There are 2 nested loops so that the total force and acceleration of every object can be calculated....