Solve the below problem:
Q: A 2.5-lb block B is moving with a velocity v0 of magnitude v0 = 6 ft/s as it hits the 1.5-lb sphere A, which is at rest and hanging from a cord attached at O. Knowing that µk = 0.6 between the block and the horizontal surface and e = 0.8 between the block and the sphere, determine after impact
(a) The maximum height h reached by the sphere,
(b) The distance x traveled by the block.