A System of Analytic Mechanics