Lagrangian method for equation of motion
Assume a masssless pulley and a frictionless surfce constraining two equal masses. Let x be the extension of the spring from mits relaxed length. I have to derive the equations of motion by Lagrangian methods, and solve for x as a function of time with the boundary conditions x=0, x'=0, and t=0. Anyone feel like helping for a smile?