When examining the simple undamped harmonic motion of a cart of mass m on a spring with stiffness $k$, we can derive the differential equation of motion using various techniques: Newton's 2nd law, d'Alembert's principle, conservation of energy, Lagrange's equations, etc. I don't understand the "c...