Adding a Second Average Acceleration

Develop the code for the dynamic pressure experienced by a rocket during launch.

Because of the assumptions you made with constant acceleration, 1 billion psf is most likely nowhere near the Max Q that a rocket experiences; the actual Max Q is likely far lower. On Earth, assuming you are not doing anything crazy like drag racing or flying a fighter jet, you are always experiencing 1 g of acceleration as the Earth rotates. 1 g = 32.2 fts2\frac{ft}{s^2}, so the 51.76 fts2\frac{ft}{s^2} that you used for average acceleration comes out to about 1.6 g over Earth’s natural gravitational pull (2.6 g total). What would a rocket accelerating at 1 g look like on this graph? (In an inertial frame, this is 2 g of acceleration: 1 g from Earth and 1 g going away from Earth.) Since you used acceleration as a variable, all you have to do is copy and paste the code starting with y_values = [] through plt.plot() we used and replace acceleration = 51.76 with acceleration = 32.2. It is good practice to rename y_values to y2_values or something else that isn’t y_values so you can preserve both sets of pressures. In Python:

Get hands-on with 1400+ tech skills courses.