A ball is thrown straight up from the top of a 24 foot tall building with an initial speed of 40 feet per second. The height of the ball as a function of time can be modeled by the function h(t) = –16t2 + 40t + 24. How long will it take for the ball to hit the ground?