A small block of mass m moves right and hits a larger spring-connected block of mass M.
Assume a 1D perfectly elastic collision with m = 1 kg, M = 4 kg, uₘ = +5 m/s, and uᴍ = 0.
Find the final velocities after collision and visualize the spring compression, separation, and restoring force.