Praman AcademyCh. 82Not crashing

The Geometry of Not Crashing — challenge

Written by

in

← Praman Academy index

Before you run

A successful run ends with landing boundary checks passed. A traceback is a failed assert — a failed claim, not a rounding nuisance. Use this starter only as an output shape; the derivation is yours.

def check():
    # 1. define the constants and the constraint
    # 2. assert the stated benchmarks
    # 3. assert the undefined / boundary case explicitly
    print("landing boundary checks passed")

if __name__ == "__main__":
    check()

The full worked asserts follow. Type them out; do not paste them.

[MATHEMATICAL] · [MODEL-DEPENDENT] · CHAPTER 82 VERIFICATION

Reproduce the chapter’s landing boundary suite without libraries, then state exactly where the claim stops. The source example uses m = 25000 kg, Tmax = 845000 N, g = 9.81 m/s², v₀ = 150 m/s.

1. The Question

[OPEN QUESTION] Does a smaller altitude produce a smaller speed, or a forbidden state? The suite must distinguish a residual from an existence failure.

2. What You Already Know

  • [MATHEMATICAL] anet = Tmax/m − g.
  • [MATHEMATICAL] ycrit = v₀²/(2anet).
  • [MATHEMATICAL] κ(ỹ) = 2/(1 + 4ỹ)3/2.

3. The Missing Explanation

[MATHEMATICAL] The extrinsic parabola in metres has no invariant curvature. Only ỹ = ṽ², with both axes dimensionless, carries the geometry that survives a change of units.

4. The Mathematical Necessity

[MATHEMATICAL] Two vetoes must be asserted: Tmax/m > g for the surface to exist, and y₀ ≥ ycrit for the state to be admissible. [MATHEMATICAL] If either fails, the correct output is ⊥ or BOUNDARY_VIOLATION, never a fabricated zero.

5. The Physical Construction

[MATHEMATICAL] Construct the scales first: V = √(2anety₀); then ṽ = v₀/V; then ỹ = 1 at burn start. Compare ỹ with ṽ² before computing any curvature.

6. The Numerical Reality

[MATHEMATICAL] Expected values: anet = 23.99, ycrit = 468.945394, tburn = 6.25, vdeck(450 m) = 30.149627, κ(0) = 2, κ(1) = 0.1788854382.

7. The Experimental Test

[MATHEMATICAL] Run the suite below. Then repeat it with all lengths in feet and all accelerations in ft/s²; the dimensionless κ values must not move.

8. Limits

[MODEL-DEPENDENT] No drag, no mass loss, no throttle lag, no attitude dynamics. [OPEN QUESTION] A real descent is a control problem, not a single algebraic surface.

9. Next Question

[OPEN QUESTION] Add m(t) = m₀ − ˙m t and re-derive the surface. Does the dimensionless curve stay a parabola, or does the veto acquire a new term?

10. Worked Assert Suite

import math
g = 9.81
tmax = 845000.0
m = 25000.0
v0 = 150.0
y0 = 500.0
anet = tmax / m - g
assert anet > 0.0

def critical(v):
    return v * v / (2.0 * anet)

ycrit = critical(v0)
assert abs(ycrit - 468.9453939) < 1e-6
assert y0 >= ycrit
assert abs(y0 - ycrit - 31.0546061) < 1e-6
assert abs(v0 / anet - 6.2526053) < 1e-6

def impact(y):
    value = v0 * v0 - 2.0 * anet * y
    return math.sqrt(value) if value >= 0.0 else None

assert impact(450.0) is not None
assert abs(impact(450.0) - 30.1496269) < 1e-6
assert impact(400.0) is None

def kappa(yt):
    return 2.0 / (1.0 + 4.0 * yt) ** 1.5

assert kappa(0.0) == 2.0
assert abs(kappa(1.0) - 0.1788854382) < 1e-9

feet = 3.280839895
anet_ft = anet * feet
v0_ft = v0 * feet
vt = v0_ft / math.sqrt(2.0 * anet_ft * (ycrit * feet))
assert abs(vt - 1.0) < 1e-12
assert abs(kappa(vt * vt) - kappa(1.0)) < 1e-12
print("landing boundary checks passed")

Rubric

RungPassFail
ObserveNames Tmax, m, g, v₀, y₀ and the deck boundary.Treats the canvas as a photograph of a landing.
ManipulateShows that lowering y₀ below ycrit changes the badge to BOUNDARY_VIOLATION.Reports a smaller but nonzero touchdown speed as success.
PredictForesees ycrit = 468.945394, κ(0) = 2, and ⊥ when Tmax/m ≤ g.Substitutes zero for an undefined stopping surface.
ConstructWrites all asserts, including unit invariance, and explains the residual as a model consequence.Uses illustrative numbers as certified flight data.

Read the theory · Return to lab · ISRO Chandrayaan case file →

More posts