Rocket launch, step by step — a TI-89 Titanium program
LAUNCH89 is a TI-89 BASIC program for the TI-89 Titanium. Exhaust speed, liftoff and burnout mass and burn time, flying straight up with constant g and no drag. Step by step: the burn rate, thrust-to-weight (liftoff or not), the ideal Δv from the rocket equation, burnout speed and height (each checked by the algebra system integrating the motion), the coast, the maximum height and whether it reaches space.
What it asks for and what it shows
It asks for 4 values at its prompts. In the example below it shows R kg/s, T/W, Δv m/s, V m/s, ∫ check m/s, H m, ∫ check m, C m, MAX=H+C m, V burnout m/s, H burnout m, MAX m, LIFTOFF: T/W>1, ABOVE THE KARMAN LINE:, SPACE!, 7 SUMMARY.
Example run
One of its oracle test cases. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 2400 |
| Input 2 | 1200 |
| Input 3 | 300 |
| Input 4 | 60 |
| The screen shows | |
R kg/s= | 15 |
T/W= | 3.058103976 |
Δv m/s= | 3327.106467 |
V m/s= | 2738.506467 |
∫ check m/s= | 2738.506467 |
H m= | 59799.87067 |
∫ check m= | 59799.87067 |
C m= | 382233.3164 |
MAX=H+C m= | 442033.1871 |
V burnout m/s= | 2738.506467 |
H burnout m= | 59799.87067 |
MAX m= | 442033.1871 |
| Text | LIFTOFF: T/W>1 |
| Text | ABOVE THE KARMAN LINE: |
| Text | SPACE! |
| Text | 7 SUMMARY |
How it's checked
4 test cases, each checked against an independent method. Replayed key by key on a virtual TI-89 Titanium, they make 59 checks.
How E-Code checks every program
Run it or put it on your calculator
- Open the library in the TI-89 Titanium calculator and pick “Rocket launch, step by step” (LAUNCH89).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Earth → Mars mission planner, step by step
- Projectile from a height (dialog, m or ft)
- Kinematics: leave the two unknowns blank
All TI-89 Titanium physics programs · All TI-89 Titanium programs