A ball is thrown into the air with an upward velocity of 40ft/s. Its height h in feet after t seconds is given by the function :
h(t) = -16t? + 40t + 10
How many seconds does it take the ball to reach its maximum height?