E-Code

Gamma shielding and dose geometry — a TI-84 Plus CE program

By E-Code · updated

SHIELD is a TI-BASIC program for the TI-84 Plus CE. Transmission, half- and tenth-value layers, thickness for a required reduction with and without buildup, and the point-source flux behind the shield.

What it asks for and what it shows

It asks for 5 values at its prompts. In the example below it shows TRANS, HVL CM, TVL CM, X F CM, X BLD, FLUX, FLUX+B.

Example run

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

StepValue
You enter
Input 10.8
Input 25
Input 3100
Input 437000000000
Input 51000
The screen shows
TRANS=0.01831563889
HVL CM=0.8664339757
TVL CM=2.878231366
X F CM=8.634694099
X BLD=11.54176685
FLUX=5392.79526
FLUX+B=26963.9763

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 48 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