Analytical Mechanics: An Introduction