I try to determine the equations of motion of the system defined by the lagrangian:
$$L=\frac{1}{2}m(\overset{.}{x}^2+\overset{.}{y}^2)+\frac{1}{2}I\overset{.}{\theta}^2.$$
I found that the system operates under the following constraint: $$\omega=\sin \theta dx-\cos\theta dy .$$
To do this I think I can use the Euler-Lagrange equations to solve:
$$\frac{d}{dt}\frac{\partial L}{\partial \overset{.}{z}} - \frac{\partial L}{\partial z}=\lambda\omega$$
where $z=(x,y,\theta)$.
But I don't understand how to solve these. I also wonder if I can transform this relation into the following way
$$\frac{d}{dt}\frac{\partial \mathscr{L}}{\partial \overset{.}{z}} - \frac{\partial \mathscr{L}}{\partial z}=\lambda\omega$$
with $\mathscr{L}=L-\lambda\omega$.
Can someone give me some hints?
Have a nice day!