Solved Problems in Lagrangian and Hamiltonian Mechanics

Example: Simple Harmonic Oscillator As an example, we may again solve the simple harmonic oscillator problem, this time using Hamiltonian mechanics.