Earth → Mars mission planner, step by step — a TI-89 Titanium program
MARS89 is a TI-89 BASIC program for the TI-89 Titanium. Plans a trip to Mars in the textbook model (circular coplanar orbits, the Sun only, patched conics, impulsive burns) from the payload, engine Isp and the two parking orbits. Nine steps: orbital periods and the synodic period, the launch-window phasing, the Hohmann transfer by vis-viva, a 425-cell porkchop plot of Lambert solutions drawn on the graph screen, the escape burn with the Oberth effect, a Mars slingshot that costs no fuel, the capture burn, fuel and mass by the rocket equation, and the mission time and radio delay.
What it asks for and what it shows
It asks for 4 values at its prompts. In the example below it shows MARS89 · EARTH → MARS, pass 48 of 48, STEP 9 OF 9: TIME, MARS89 · 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 | 20 |
| Input 2 | 450 |
| Input 3 | 300 |
| Input 4 | 400 |
| The screen shows | |
| Text | MARS89 · EARTH → MARS |
| Text | pass 48 of 48 |
| Text | STEP 9 OF 9: TIME |
| Text | MARS89 · SUMMARY |
How it's checked
5 test cases, each checked against an independent method. Replayed key by key on a virtual TI-89 Titanium, they make 306 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 “Earth → Mars mission planner, step by step” (MARS89).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Rocket launch, 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