MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

LinearMomentum — Extraction of linear momentum of rigid body relative to observer [mathematica]

LinearMomentum[A,B]

A: name of defined observer B: name of defined point

The function LinearMomentum returns the linear momentum of a rigid body with reference point B relative to the observer A.

The linear momentum is expressed using the symbol M for the total mass of the body.

Remember to invoke DeclareStates prior to using LinearMomentum.

Restart;
DeclareObservers[A];
DeclarePoints[A,B];
DeclareTriads[a];
DefineObservers[{A,A,a}];
DefinePoints[{A,B,a,q1,q1+q2,q3}];
DeclareStates[q1,q2,q3];
LinearMomentum[A,B]

{ Type "->" Vector , Size "->" 1 , 1 "->" { Coordinates "->" { M q1 , M ( q1 + q2 ) , M q3 } , Triad "->" a } }


Toolbox functions