E-Code

Gamma shielding with Taylor buildup — a TI-84 Plus CE program

By E-Code · updated

TAYLORB is a TI-BASIC program for the TI-84 Plus CE. Point isotropic gamma source behind a slab: Taylor buildup factor, unshielded, uncollided and total flux at the detector, and (optionally) the shield thickness that brings the flux down to a target.

What it asks for and what it shows

It asks for 6 values at its prompts. In the example below it shows B, PHI0, PHIU, PHI, MU X, X CM.

Example run

One of its oracle test cases: “1 Ci source behind 50 cm of water-like shield”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 137000000000
Input 20.0707
Input 350
Input 4100
Input 5{11,⁻0.104,0.03}
Input 61
The screen shows
B=6.893745104
PHI0=294436.6447
PHIU=8585.406572
PHI=59185.60453
MU X=3.535
X CM=235.0137731

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