A block of mass m=0.1kg is connected to a spring of unknown spring constant k. It is compressed to a distance x from its equilibrium position and released from rest.
After approaching half the distance (x2) from equilibrium position, it hits another block and comes to rest momentarily, while the other block moves with a velocity 3ms−1. The total initial energy of the spring is :
Apply principle of conservation of momentum and energy
Momentum before collision = Momentum after collision
0.1u+m×0=0.1×0+m×3
12×0.1×u2=12×m×32
Solving these two equations, u=3
12kx2=12k(x2)2+12×0.1×32
34kx2=0.9
12kx2=0.6J