In: Physics
Initial velocity of ball 
Height to reach 
Consider the required time to reach given height is 
Velocity when the ball reached the height is 
We know




Consider the max height reached by the ball is 


Time taken to reach maximum height 


Consider the time taken to reach 
 below the roof railing is 


Total time required is 
