The mass in the region is:Originally Posted by OntarioStud
(Note is the volume element in spherical polars)
and the centre of mass is:
where is the density at , which we are told is a constant,
and so independent of .
Now the component of the centre of mass is obtained from the above by replacing
by its component :