# Center of mass (for a system of n-particles)

## Description

The center of mass of a distribution of mass in space is the unique point where the weighted relative position of the distributed mass sums to zero.

The barycentric coordinate system is a coordinate system in which the location of a point of a simplex (a triangle, tetrahedron, etc.) is specified as the center of mass, or barycenter, of masses placed at its vertices. Coordinates also extend outside the simplex, where one or more coordinates become negative.

The coordinates R of the center of mass of a n-particle system can be computed by the masses of the particles and their distances from a fixed point.

## Variables

R | The coordinates R of the center of mass (m) |

m_{i} | Mass of the n-particle (kgr) |

r_{i} | Distance of the n-particle from the fixed point (m) |