Classical mechanics : hamiltonian and lagrangian formalism (2010)