Answer:

Step-by-step explanation:
initial height of the ball is given as

initial speed of the ball is given as

now we know that


now by energy conservation we can say
initial kinetic energy + initial potential energy = final kinetic energy + final potential energy


