The height in feet of an arrow t seconds after it was shot into the air is given by the function: h(t)= -16t^2+288t+6
The arrow will hit the ground after _____ seconds. (Round to the nearest second)

(Please explain!)