7} {'mass ratio':>11} {'payload frac':>13}\")\nfor name, T in DEST.items():\n lam = payload_fraction(T)\n flag = ' <- UNREACHABLE alone' if lam <= 0 else ''\n print(f\"{name:6} {T:7.1f} {np.exp(T/VE):11.1f} {lam*100:12.1f}%{flag}\")\n","label":"The rocket-equation wall"}],"intro":"Compute the single-vehicle payload fraction for each destination and mark the wall.","key":"space-logistics/the-rocket-equation-wall","kind":"python","title":"The rocket-equation wall"}">
PYTHON · NUMPY · IN-BROWSER
The rocket-equation wall
Compute the single-vehicle payload fraction for each destination and mark the wall.
You read
the arrays and values already in scope
You change
the code you write in each cell
Fixed
the dataset and the checks that grade you