Given,
The time, T = 3.5 s
The time the ball is required to go up is half of the time the ball bounces straight up and returns to the floor. It is the same for the ball going down.
Here, u is the initial velocity, v is the final velocity and a is the acceleration due to gravity calculated as g = 9.8 m/s^2.
Rearrange the equation,
Put t = 3.5/2,
By the equation of the motion,
Thus, the maximum height of the ball is 15 m.