A 540-kg spacecraft is mounted on top of a rocket with a mass of 19 Mg, including 17.8 Mg of fuel. Knowing that the fuel is consumed at a rate of 225 kg/s and ejected with a relative velocity of 3600 m/s, determine the maximum speed imparted to the spacecraft if the rocket is fired vertically from the ground.