xf - xi = vit + (1/2)at2 (kinematics equation)
xf = 7
xi = 20
vi = 24
a = -9.8
7 - 20 = (24)t - (0.5)(9.8)t2
Rewrite in standard form:
4.9t2 - 24t - 13 = 0
Solve the quadratic equation:
t = 5.39 seconds or t = -0.49 seconds
Choose the positive solution:
t = 5.39 seconds