A rock is dropped from a bridge 320 feet above the river. The pathway that the rock takes can be modeled by the equation h= -16t2+320. How long will it take the rock to reach the river?