Title: An elementary treatise on analytic mechanics