(2005? Yantai simulation) An astronaut did the following experiment on the space station: two balls A, B and B with the mass of mA=0. 1kg and mB=0.2kg were selected.

Taking A and B as systems, it is obtained from the conservation of momentum: (mA+mB)v0=mAvA+mBvB…①.

According to the meaning of the question: s=(vA-vB)t…

VA=0.7m/s,vB=-0.2m/s,

From the conservation of mechanical energy: EP+12 (ma+MB) v02 =12mvaa2+12mvbb2 ③.

Solution: EP = 0.027 J.

Answer: the elastic potential energy when the spring is locked is 0.027 J.