a 20g ball is fired horizontally with speed v towards a 100g ball hanging motionless from a 1.0m long string. the ball undergoes a head on perfectly elastic collision, after which the 100g ball swings out to a maximum angle of 50 degrees. what was v?