This is exactly what I was looking for! I'm slightly confused, though. Isn't gravitation an inverse square relationship as opposed to inverse cube relationship?
At any rate, I'll plug this into my program and let you know my results.
Hello! This is my first post but definitely not my last.
I am programming a space simulator and my first problem to solve is to make gravitation work properly.
If I have two objects at arbitrary positions in three dimensional space I can calculate the net force between them in a straight...