Answer:
The value is
![t = 5.124 \ s](https://img.qammunity.org/2021/formulas/physics/high-school/v50grva2gbpqkl3ayxc6y8a609xhetlj92.png)
Step-by-step explanation:
From the question we are told that
The height of the tree is
![s = 20 \ m](https://img.qammunity.org/2021/formulas/physics/high-school/e3avtyig0vmqy3ltn5opm8v2nxz42jr6kn.png)
The angle the ball leaves is
![\theta = 45^o](https://img.qammunity.org/2021/formulas/physics/college/9id1ab4fe7ifrw4jg5mno8qgdydvuw1fc1.png)
The initial velocity is
![u = 30.0 \ m/s](https://img.qammunity.org/2021/formulas/physics/college/iyoiw4d3zq00e20ubgucfkwlcjr9c8jxdm.png)
Generally the vertical of the ball's initial velocity is mathematically evaluated as
![u_y = u * sin (45)](https://img.qammunity.org/2021/formulas/physics/high-school/9mecsapqiwevfmlg1fhr1ditrybyryb15v.png)
=>
![u_y =- 30 * sin (45)](https://img.qammunity.org/2021/formulas/physics/high-school/uidn4ln7bgxbvrcpp8mwhrpux4sm0ovfcg.png)
=>
![u_y = -21.21 \ m/s](https://img.qammunity.org/2021/formulas/physics/high-school/uu0d7gwpexknka5wvhsd4u5r295dw266k3.png)
Here
is negative because it is in the direction of the negative y-axis
Generally from kinematic equation we have
![s = u_yt + (1)/(2) g t^2](https://img.qammunity.org/2021/formulas/physics/high-school/hj9p6m3m9ry4j2ete1gyonumzsbfts1tit.png)
=>
![20= -21.21 t +4.9 t^2](https://img.qammunity.org/2021/formulas/physics/high-school/qj0suokyh2nh1u0otx4s9wi91ay5674x2z.png)
=>
![4.9 t^2 -21.21 t- 20= 0](https://img.qammunity.org/2021/formulas/physics/high-school/s4eikoikq06aua58uqo6u89pa4jbrxudg9.png)
Solving using quadratic formula we have that
![t = 5.124 \ s](https://img.qammunity.org/2021/formulas/physics/high-school/v50grva2gbpqkl3ayxc6y8a609xhetlj92.png)