Hello,
I tried to derive equation of motion for simple pendulum using D'Alembert's principle. The file is attached herewith.
I got the equation as \ddot{\theta} - \frac{g}{l}\sin(\theta)=0.
However, if we use Lagrange equation of motion then we get
\ddot{\theta} + \frac{g}{l}\sin(\theta)=0.
Can anyone check the attached file and tell me if there is any mistake?
Thank you.