Lagrangian For Inverted Compound Pendulum Lab