E-Code

Rocket in gravity (Tsiolkovsky) — a TI-84 Plus CE program

By E-Code · updated

ROCKET is a TI-BASIC program for the TI-84 Plus CE. Burnout speed and altitude with constant exhaust speed and burn rate, coast height, maximum altitude and initial thrust-to-weight.

What it asks for and what it shows

It asks for 4 values at its prompts. In the example below it shows DV IDL, V BURN, H BURN, H COAST, H MAX, T/W.

Example run

One of its oracle test cases: “sounding rocket”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 12500
Input 21000
Input 3400
Input 460
The screen shows
DV IDL=2290.72683
V BURN=1702.12683
H BURN=40712.92681
H COAST=147667.4691
H MAX=188380.3959
T/W=2.54841998

How it's checked

4 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 27 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-84 Plus CE physics programs · All TI-84 Plus CE programs