Explore
The same block: 0.5 kg on 50 N/m, 10 cm out. Press play and watch the energy: the bars, and the point riding the curve U = ½kx².