Comment Re: Just what the Moon always wanted (Score 1) 97
In order to account for binary systems, I like to generalize and say it's all the same although the formula to compute the actual center of mass when inside the larger body differs than when it is outside. This is because when inside the larger body, some part of the larger body modify the gravitational attraction from the smaller body.
But in the end, the important point to be aware of is the center of mass.
http://slashdot.org/comments.p...
As a side note. although there is few references to such cases, it is the same for 3,4,5... body systems. All you have to understand is the center of mass.
Translated to slashdot developer like language: Understand the basic principles and avoid re-inventing the wheel as much as possible.