A mass m is tied to an ideal spring with force constant k and rests on a frictionless surface. The mass moves along the x axis.
Assume that x=0 corresponds to the relaxed position of the spring. The mass is pulled out to a position xm and released. Derive an expression for the positions at which the kinetic energy of the mass is equal to the elastic potential energy of the spring.