E-Code

Four-factor formula and criticality — a TI-84 Plus CE program

By E-Code · updated

FOURFACT is a TI-BASIC program for the TI-84 Plus CE. k-infinity from eta, f, p and epsilon; one-group k-effective for a sphere, cylinder or slab from its geometric buckling; reactivity and the critical size.

What it asks for and what it shows

It asks for 6 values at its prompts, after you pick option 1 from its menu. In the example below it shows KINF, BUCKL, KEFF, RHO PCM, CRIT CM, SUPERCRITICAL.

Example run

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

StepValue
You enter
Menuoption 1
Input 11.65
Input 20.92
Input 30.87
Input 41.03
Input 52.5
Input 630
The screen shows
KINF=1.3602798
BUCKL=0.01096622711
KEFF=1.273027847
RHO PCM=21447.1229
CRIT CM=13.08
TextSUPERCRITICAL

How it's checked

7 test cases, each checked against the textbook formula it uses. Replayed key by key on a virtual TI-84 Plus CE, they make 51 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