Given data:
* The initial velocity of the rock is 5 m/s.
* The time taken by the rock is 7 seconds.
* The acceleration of the rock is,
![g=9.8ms^(-2)](https://img.qammunity.org/2023/formulas/physics/college/iw2ux1d6nmgytoc08m55zw6egg0oh88gdf.png)
Solution:
By the kinematics equation,
The distance traveled by the rock in the vertical direction is,
![y=y_o+v_ot+(1)/(2)gt^2](https://img.qammunity.org/2023/formulas/physics/high-school/npld364ov0560y2hdqu8a1gjg5drtdxe49.png)
where y_o is the initial distance of the rock, y is the final distance after the time t, v_o is the initial velocity, and t is the time taken to reach the final distance,
Substituting the known values,
![\begin{gathered} y=0+5*7+(1)/(2)*9.8*7^2 \\ y=35+240.1 \\ y=275.1\text{ m} \end{gathered}](https://img.qammunity.org/2023/formulas/physics/high-school/m3wgio4i5t0woap9uripmjw1pxbha38mno.png)
Thus, the distance traveled by the rock in 7 seconds is 275.1 meter.