Learning Scientific Programming with Python (2nd edition)

P6.4.4: Saturn V first stage launch analysis

Question P6.4.4

The first stage rockets of the Saturn V rocket which launched the Apollo 11 mission generated an acceleration which increases with time throughout their operation (mostly because of the decrease in mass as it burns its fuel). This acceleration may be modelled (in units of $\mathrm{m\,s^{-2}}$) as a function of time after launch, $t$ in seconds, by the quadratic function: $$ a(t) = 2.198 + (2.842 \times 10^{-2})t + (1.061 \times 10^{-3})t^2 $$ Determine the distance travelled by the rocket at the end of the stage-one centre-engine burn, 2 min 15.2 sec after launch.

(Harder) Assuming a constant lapse rate of $\Gamma = -\mathrm{d}T / \mathrm{d}z = 6 \;\mathrm{K\,km^{-1}}$ and a ground temperature of 302 K, at what time and altitude, $z$, did the rocket achieve Mach 1? During the relevant phase of the launch, take the average pitch angle to be $12^\circ$, and assume the speed of sound can be calculated as a function of absolute temperature to be $$ c = \sqrt{\frac{\gamma RT}{M}}, $$ where the constant $\gamma=1.4$ and the mean molar mass of the atmosphere is $M = 0.0288\;\mathrm{kg\,mol^{-1}}$.