Solve the all parts of following question:
Question: A rocket engine can accelerate a rocket launched from rest vertically up with an acceleration of 19.3 m/s2. However, after 51.8 s of flight the engine fails.
Part A: What is the rocket's altitude when the engine fails? Assume g = 9.80 m/s2.
Part B: What is the velocity of the rocket just before it hits the ground?