You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This work is licensed under a <arel="license"href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
25
-
26
-
## Correction
27
-
28
-
Turns out, I was right to be skeptical of 1 billion psf as the maximum dynamic pressure in Chapter 3! I mis-interpreted the NASA atmospheric model and treated pressure as density.
29
-
This corrected density function should give you the original Max Q psf average acceleration of 1,395 psf:
30
-
31
-
def density_corrected(height: float) -> float:
32
-
"""
33
-
Returns the air density in slug/ft^3 based on altitude
34
-
Equations from https://www.grc.nasa.gov/www/k-12/rocket/atmos.html
35
-
:param height: Altitude in feet
36
-
:return: Density in slugs/ft^3
37
-
"""
38
-
if height < 36152.0:
39
-
temp = 59 - 0.00356 * height
40
-
p = 2116 * ((temp + 459.7)/518.6)**5.256
41
-
elif 36152 <= height < 82345:
42
-
temp = -70
43
-
p = 473.1*np.exp(1.73 - 0.000048*height)
44
-
else:
45
-
temp = -205.05 + 0.00164 * height
46
-
p = 51.97*((temp + 459.7)/389.98)**-11.388
47
-
48
-
rho = p/(1718*(temp + 459.7))
49
-
return rho
50
-
51
-
You will have to adjust the plotting offsets in `chap3.py` to correct for the changed scale and magnitude:
0 commit comments