As shown in fig. when a spherical cavity (centered at O) of radius 1 is cut out of a uniform sphere of radius R (centered at C), the center of mass of remaining (shaded) part of sphere is at G, i.e. on the surface of the cavity. R can be determined by the equation :
Moment of masses about COM is zero.