E-Code

ICE table: equilibrium concentrations — a TI-84 Plus CE program

By E-Code · updated

ICEEQ is a TI-BASIC program for the TI-84 Plus CE. General aA + bB ⇌ cC + dD with any starting concentrations and K: solves the ICE table for the shift x (forward or backward, by bisection on ln Q = ln K) and shows every equilibrium concentration with a Q/K check.

What it asks for and what it shows

It asks for 3 values at its prompts. In the example below it shows X, [A], [B], [C], [D], Q/K.

Example run

One of its oracle test cases: “H2+I2⇌2HI, K 50.5”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 1{1,1,2,0}
Input 2{1,1,0,0}
Input 350.5
The screen shows
X=0.7803726795
[A]=0.2196273205
[B]=0.2196273205
[C]=1.560745359
[D]=0
Q/K=1

How it's checked

8 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 54 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-84 Plus CE chemistry programs · All TI-84 Plus CE programs