CenterOfMass - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Precalculus]

  

CenterOfMass

  

find the center of mass of a set of points

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

CenterOfMass(p1, ...)

Parameters

p1, ...

-

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

Description

• 

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).

Examples

withStudent:-Precalculus:

CenterOfMass0,0,1,1

12,12

(1)

CenterOfMass0,1,2,0.1,1,2,3,1,3,0,0.5

0.3125000000,2.250000000,2.000000000

(2)

CenterOfMassa1,b1,13,a2,b2,23

a13+2a23b13+2b23

(3)

See Also

Midpoint

Student[MultivariateCalculus][CenterOfMass]

Vector