If then v (velocity)
when the train is at rest. So solve for t. Then plug this value of t in to the distance equation to find the total distance traveled.
To get v, differentiate. So
You should know the equation for h represents the graph of a parabola. So for the maximum h the derivative, v, is 0. Solve , plug the t value into the equation for h and you will have your answer of 1000m.