The bob A of a pendulum 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 1m, calculate (a) the height to which bob A will rise after collision. (b) the speed with which bob B starts moving. Neglect the size of the bobs and assume the collision to be elastic.