find the center of mass of a set of points
each is an n-element list or Vector specifying a point, or a list whose first element is an n-element list or Vector and whose second element is an algebraic expression specifying the corresponding weight
The command CenterOfMass(p1,p2,...,pn) computes the center of mass of the given points, weighted by the corresponding weights. If a point is given as an n-element list or vector, the corresponding weight is taken to be 1.
All arguments must specify points of the same dimensionality (and orientation, when more than one of the points is a Vector).
Download Help Document