A projectile is thrown upward so that its distance above the ground after t seconds is given by the function h(t) = -16t2 + 576t. After how many seconds does the projectile take to reach its maximum height? Show your work for full credit.