Text this: Lagrangian and Hamiltonian Mechanics