A block of mass m=0.5 kg moving with initial speed vi=12 m/s compresses a spring by x=30 cm =0.3 m and slows to a final speed vf=212=6 m/s.
By the work-energy theorem, the decrease in kinetic energy of the block is stored as elastic potential energy in the spring:
21mvi2−21mvf2=21kx2
Substituting the values gives the initial kinetic energy KEi=21(0.5)(12)2=21(0.5)(144)=36 J and the final kinetic energy KEf=21(0.5)(6)2=21(0.5)(36)=9 J, so the loss in kinetic energy is 36−9=27 J.
Equating this to the spring’s potential energy, 21kx2=27, and using x=0.3 m leads to 21k(0.3)2=27 or 21k(0.09)=27, from which k=0.0927×2=0.0954=600 Nm−1.
The spring constant is 600 Nm−1.