SMS dit: Analytical mechanics