Hi all, I recently was posting in another thread on how to properly integrate the equations of motion in gravitational simulations. I thought this would be a good opportunity to provide some basic knowledge on simulations, numerical differential equations, and a little bit of programming. I'm writing this as a resource for anyone who'd like to learn how to simulations and provide a crash course, so to speak, on setting up some basic simulations. The tutorial in full is posted in the below three posts. Enjoy! Edit: D'oh, I just realized I posted this in the wrong forum. Can a moderator kindly move this to the "Programming" section?