E-Code

Radioactive decay chain (Bateman) — a TI-84 Plus CE program

By E-Code · updated

DECAYCH is a TI-BASIC program for the TI-84 Plus CE. Parent and daughter activity after any time, the daughter-to-parent ratio, the time of maximum daughter activity, and the kind of equilibrium reached.

What it asks for and what it shows

It asks for 4 values at its prompts. In the example below it shows A PAR, A DAU, RATIO, T MAX, TRANSIENT EQ.

Example run

One of its oracle test cases: “Mo-99 -> Tc-99m (transient), hours”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 166
Input 26
Input 31000
Input 424
The screen shows
A PAR=777.2031409
A DAU=786.173455
RATIO=1.011541788
T MAX=22.83224868
TextTRANSIENT EQ

How it's checked

6 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 38 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