find the center of mass of a set of points - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Precalculus : Computation : Student/Precalculus/CenterOfMass

Student[Precalculus][CenterOfMass] - find the center of mass of a set of points

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

13a1+23a213b1+23b2

(3)

See Also

Midpoint, Student[MultivariateCalculus][CenterOfMass], Vector


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam