Formalism of classical mechanics underlies a number of powerful mathematical methods that are widely used in theoretical and mathematical physics. …