where $$g$$ is the local strength of the gravitational field. In this course you may take $$g = \aSI{9.81}$$ in the SI system, or $$g = \aUS{32.2}$$ in the US customary system as reasonable approximations for objects on the surface of the earth.
Substituting $$m_i\ g_i = W_i$$ in (7.2.2) gives the equations for the center of mass.
$$\bar{x}=\frac{\sum \bar{x}_{i} \ m_i\ g_i}{\sum \ m_i\ g_i} \quad \bar{y}=\frac{\sum \bar{y}_{i} \ m_i\ g_i}{\sum \ m_i\ g_i} \quad \bar{z}=\frac{\sum \bar{z}_{i} \ m_i\ g_i}{\sum \ m_i\ g_i}\text{.}\tag{7.3.1}$$
By our assumption that $$g$$ is constant on the surface of the earth, $$g_i$$ can be factored out of the sums and drops out of the equation completely.
$$\bar{x}=\frac{\sum \bar{x}_{i} m_i}{\sum m_i} \quad \bar{y}=\frac{\sum \bar{y}_{i} m_i}{\sum m_i} \quad \bar{z}=\frac{\sum \bar{z}_{i} m_i}{\sum m_i}\text{.}\tag{7.3.2}$$
These equations give the coordinates of the center of mass. The numerator contains the first moment of mass, and the denominator contains the total mass of the object. As long as the assumption that $$g$$ is constant is valid, the center of mass and the center of gravity are identical points and the two terms may be used interchangeably.