Consider a mass m, attached to a uniform and horizontal spring with mass M. The other end of the spring is attached to a wall. Assume there is no friction and also assume that the speed of each infinitesimal segment of the spring is proportional to its distance from the wall.
• Find the kinetic energy for this system.
• Determine the Lagrange's equation of motion.
• Find the frequency of small oscillations.