D. Alembert's Principle and Lagrange's equation of motion