Solve the below problem:
Q: A 340-g ball B is hanging from an inextensible cord attached to a support C. A 170-g ball A strikes B with a velocity v0 of magnitude 1.5 m/s at an angle of 60° with the vertical. Assuming perfectly elastic impact (e = 1) and no friction, determine the height h reached by ball B.