Solve the below problem:
Q: A ball is dropped from rest at height h, and it bounces off a surface at height y (with no loss in speed). The surface is inclined so that the ball bounces off at an angle with respect to the horizontal. What should y be so that the ball travels the maximum horizontal distance?