Chemical equilibrium: N2O4 <-> 2NO2 — a TI-84 Plus CE program
EQUIL is a TI-BASIC program for the TI-84 Plus CE. Van't Hoff shift of the equilibrium constant with temperature, then the degree of dissociation, mole fractions and standard Gibbs energy at a total pressure.
What it asks for and what it shows
It asks for 5 values at its prompts. In the example below it shows K T2, ALPHA, Y NO2, Y N2O4, DG KJ.
Example run
One of its oracle test cases: “350 K, 1 bar”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 0.148 |
| Input 2 | 298.15 |
| Input 3 | 57.2 |
| Input 4 | 350 |
| Input 5 | 1 |
| The screen shows | |
K T2= | 4.516502358 |
ALPHA= | 0.728233218 |
Y NO2= | 0.84274878 |
Y N2O4= | 0.15725122 |
DG KJ= | -4.387610583 |
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
- Open the library in the TI-84 Plus CE calculator and pick “Chemical equilibrium: N2O4 <-> 2NO2” (EQUIL).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Air-standard Otto, Diesel, Brayton
- Polytropic process, ideal gas
- Real gas: van der Waals, Redlich-Kwong
- Entropy generation, lost work
- RC circuit charging transient
All TI-84 Plus CE engineering programs · All TI-84 Plus CE programs