what is the formula for finding the center of mass?

what is the formula for finding the center of mass of two celestial objects orbiting each other.
Please explain what each letter means and step-by-step explanation.

A practice problem would be nice too (without telling me the answer)

thank you

Morningfox2010-02-02T16:02:51Z

Favorite Answer

The center of mass is the point where:

M1 x = M2 (d - x)

M1 = mass of object 1
M2 = mass of object 2
d = separation between objects (center to center)
x = distance of c.o.m. from object 1