Email Record: Elements of analytical mechanics.