A basketball is thrown at 8.00m/s [up] from a height of 2.00m and eventually comes back down to hit the floor. a)assuming a uniform acceleration of 9.80m/s^2 [down], how long was the ball in flight? b) calculate the balls velocity immediately prior to hitting the floor? I need to use one of the five key equations for motion with uniform acceleration.

hf=hi+vi*t-1/2 g t^2

hf=0, vi given, g given, solve the quadratic for time t.

vf=vi-9.8t
solve for vf