The initial velocity at which the ball was tossed up, u=30.0 m/s
The acceleration due to gravity, g=-9.8 m/s².
The negative sign of the acceleration due to gravity is because that it is in the opposite direction of the direction of motion of the ball.
When the ball reaches the top it stops and then starts to travel towards the down. Thus, when the ball reaches the top its velocity i.e., its final velocity is v=0 m/s
From the equation of the motion,
[tex]v=u+gt[/tex]Where t is the time duration in which the ball reaches the top.
On rearranging the above equation,
[tex]t=\frac{v-u}{g}[/tex]On substituting the known values in the above equation,
[tex]t=\frac{0-30.0}{-9.8}=3.06\text{ s}[/tex]Therefore it will take 3.06 seconds for the ball to reach the top.