A ball is thrown upward with an initial velocity of 96 ft/sec from a height 640 ft. Its height​ h, in​ feet, after t seconds is given by ​h(t)=−16t^2 +96t +640. After how long will the ball reach the​ ground?