Calculus/Centre of mass

$$\vec{r}_G=\frac{\displaystyle\sum\limits_{k=1}^nm_k\vec{r_k}}{\displaystyle\sum\limits_{k=1}^nm_k}$$