Answer :
According to the question, the speed of the ball is u = 40 ms-1
And the maximum height is h = 25 m
The maximum height obtained by a body projected at an angle θ in projectile motion is given as:
Horizontal range can be found in following manner :