A ball falling from a height of 5 m was caught at some height after being reflected off the floor. Find the magnitude of the movement of the ball. If the distance traveled is equal to 7 meters.