Answer:
Step-by-step explanation:
Given
Height of roof=5 m
Time taken by stone to reach ground 7 s
Let u be the initial velocity
therefore maximum height is h
![v^2-u^2=2as](https://img.qammunity.org/2020/formulas/physics/middle-school/kzr98dbu2wfj2ipzjwf8lasb185fsfra2y.png)
![0-u^2=2(-g)h](https://img.qammunity.org/2020/formulas/physics/college/7jfh1h3h34hxec7knb4lqlv2fm4z7fjthq.png)
![u=√(2gh)](https://img.qammunity.org/2020/formulas/physics/college/8oa047iw2jo4ajf6g9gsnarfbezq9kxrya.png)
time taken to reach max height
v=u+at
0=u-gt
![t=(u)/(g)](https://img.qammunity.org/2020/formulas/physics/college/l8s44ixp44m3iaze62pd3wtvryi0rxl5u3.png)
Now time taken to reach ground is
![t_2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/3kveqcgcq3nd09jqgk3sv0v0lyagfmcla2.png)
![h+5=0* t_2+(gt_2^2)/(2)](https://img.qammunity.org/2020/formulas/physics/college/1rws1fb9z1yphtewtqflvdx3r8ll39ufop.png)
![(u^2)/(2g)+5=(gt_2^2)/(2)](https://img.qammunity.org/2020/formulas/physics/college/k7czikxwn7ityj7i5k3d6hqp8e75tf53it.png)
![t_2=\sqrt{(u^2+10g)/(g^2)}](https://img.qammunity.org/2020/formulas/physics/college/cd9wz2i52quz9xuu18j4pl81ft1xukbd1s.png)
![t_2=(√(u^2+10g))/(g)](https://img.qammunity.org/2020/formulas/physics/college/ilxthmle1liz7w48g100a7izhuvw5ok5k3.png)
total time is
![t+t_2=7](https://img.qammunity.org/2020/formulas/physics/college/n3hlhs665h0kzaef3f2evd2gukhxpwsq5z.png)
![(u)/(g)+(√(u^2+10g))/(g)=7](https://img.qammunity.org/2020/formulas/physics/college/bouzo4p7ksr27hva4zvy8p11djd8s1e7ub.png)
![(√(u^2+10g))/(g)=7-(u)/(g)](https://img.qammunity.org/2020/formulas/physics/college/m0o9jp4xrnqejbyzls6w5ib6twdelktnoy.png)
Squaring both side
![u^2+10g=49g^2+u^2-14ug](https://img.qammunity.org/2020/formulas/physics/college/x1fkbjp20dyf5812tzjc7qockbwjxoln2a.png)
![14u=49g-10](https://img.qammunity.org/2020/formulas/physics/college/r63gmm4m5119y4rc9jcivnl9lwv3vz4ilr.png)
u=33.58 m/s
therefore
![h=(u^2)/(2g)](https://img.qammunity.org/2020/formulas/physics/high-school/j62j70bbsx4x88ytip27cso0dl3mtb7r5n.png)
h=57.55 m
maximum height from ground is 57.55+5=62.55 m