The formula for the position vector of the center of mass is:
$$\vec{R}_{cm} = \frac{m_1\vec{r}_1 + m_2\vec{r}_2}{m_1 + m_2}$$
where $m_1$ and $m_2$ are the masses of the two bodies, and $\vec{r}_1$ and $\vec{r}_2$ are their respective position vectors.
Given
Show more…