First, let's calculate the rocket velocity when it stops accelerating, using Torricelli's equation:
After the engine stops, the total acceleration will be the gravity acceleration, with a downwards direction and magnitude of 9.81 m/s².
The maximum height occurs when the velocity is zero, so we can use the formula below:
Now we need to calculate the time spent accelerating (engine turned on):
Therefore the total time, since lift-off until maximum height, is:
The rocket reaches the maximum height 11.12 seconds after lift-off.