The bob A of a pendulum of mass m released from horizontal to the vertical hits another bob B of the same mass at rest on a table as shown in figure. If the length of the pendulum is 1 m, what is the speed with which bob B starts moving. (Neglect the size of the bobs and assume the collision to be elastic) (Take g=10 ms−2).