PDF: planar multibody dynamics formulation programming with matlab and applications 2nd edition