Particles A and B, of masses 0.5 kg and m kg respectively, are attached to the ends of a light inextensible string which passes over a smooth fixed pulley. Particle B is held at rest on the horizontal floor and particle A hangs in equilibrium (see diagram). B is released and each particle starts to move vertically. A hits the floor 2 s after B is released. The speed of each particle when A hits the floor is 5 m s-1.