I consider generalized coordinates in more detail and use the principle of D'Alembert and Lagrange to obtain the equations of motion in the Lagrangian form.