Step-by-step explanation:
Initial speed of the rocket, u = 0
Acceleration of the rocket,

Time taken, t = 3.39 s
Let v is the final velocity of the rocket when it runs out of fuels. Using the equation of kinematics as :

Let x is the initial position of the rocket. Using third equation of kinematics as :


Let
is the position at the maximum height. Again using equation of motion as :

Now
and v and u will interchange



x = 524.14 meters
Hence, this is the required solution.