Gravita is a programme for describing  how the comet would be attracted by the Sphere, and the other way round.

Gravita is a programme for describing  how the comet would be attracted by the Sphere, and the other way round. It shows in which way the objects would be attracted by the only force of the gravity force of each body. Please fix any minor or major problem that you might encounter, as well as asking me if you don't understand something. This programme is written in Matlab script, so you could translate it to C++ language and add it to your master branch.