In the arrangement shown, the pendulum on the left is pulled aside. It is then released and allowed to collide with other pendulum which is at rest. A perfectly inelastic collision occurs and the system rises to a height h4. The ratio of the masses (m1/m2) of the pendulum is :