After 10 seconds the ball will reach its maximum height. Calculate by starting from 5 secs. You will find that after 10 seconds, the height goes to negative, which is not possible. So When t=10 , H(10)=-16(10)^2+64*10+200 = 5000 >> this is the maximum height.