MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

LinearVelocity — Extraction of linear velocity of point relative to observer [mathematica]

LinearVelocity[O,P]

O: name of defined observer

P: name of defined point

The function LinearVelocity returns the linear velocity of the point P relative to the observer O.

Remember to invoke DeclareStates prior to using LinearVelocity.

Restart; DeclareObservers[A]; DeclarePoints[A,B]; DeclareTriads[a]; DefineObservers[{A,A,a}]; DefinePoints[{A,B,a,q1,q2,q1-q2}]; DeclareStates[q1,q2]; LinearVelocity[A,B]

{ Type "->" Vector , Size "->" 1 , 1 "->" { Coordinates "->" { q1 , q2 , q1 - q2 } , Triad "->" a } }


Toolbox functions