For a simple pendulum of fixed length(l) confined to the
x-y plane:
a.) Find the form of the lagrangian using cartesian
coordinates.
b.) Using the method of Lagrange multipliers, find the
equations of motion for the pendulum in cartesian
coordinates.