E-Code

Stefan melting problem — a TI-84 Plus CE program

By E-Code · updated

STEFAN is a TI-BASIC program for the TI-84 Plus CE. One-phase melting of a semi-infinite solid: solves the transcendental Stefan equation for lambda, gives interface position, speed and time to melt a depth.

What it asks for and what it shows

It asks for 4 values at its prompts. In the example below it shows LAMBDA, S(T) MM, V MM/S, MELT MN.

Example run

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

StepValue
You enter
Input 10.2
Input 21.2ᴇ-5
Input 33600
Input 40.02
The screen shows
LAMBDA=0.3064239054
S(T) MM=127.3780255
V MM/S=0.01769139242
MELT MN=1.479184056

How it's checked

5 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 engineering programs · All TI-84 Plus CE programs