It is well known that differential equations of motion of a mechanical system can be obtained from an integral principle of mechanics using variational calculus. We obtain here, starting from integral principles, several forms of the equations ot motion, using the Pontryagin principle of maximum.