At the time the rocket hits the ground h=0, given that h=-16t²+320t+32
when h=0, our equation will be:
-16t²+320t+32=0
solving the above by completing square method we proceed as follows;
-16t²+320t+32=0
divide though by -16 we get
t²-20t-2=0
t²-20t=2
but
c=(-b/2a)^2
c=(20/2)^2
c=100
hence:
t²-20t+100=100+2
(t-10)(t-10)=102
√(t-10)²=√102
t-10=√102
hence
t=10+/-√102
t~20.1 or -0.1
since it must have taken long, then the answer is 20.1 sec