Nernst equation: cell potential and ΔG — a TI-84 Plus CE program
NERNST is a TI-BASIC program for the TI-84 Plus CE. From the two REDUCTION potentials (E°cell = E°cathode − E°anode), electrons transferred, temperature in kelvin and Q — E = E° − (RT/nF)·ln Q, which is 0.0592/n·log Q only at 25 °C: standard and actual cell potential, ΔG° and ΔG in kJ, log K, and whether the cell reaction is spontaneous.
What it asks for and what it shows
It asks for 5 values at its prompts. In the example below it shows E0CELL, E CELL, DG0 KJ, DG KJ, LOG K, SPONTANEOUS.
Example run
One of its oracle test cases: “Daniell cell Cu/Zn, Q .1”. 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.34 |
| Input 2 | ⁻0.76 |
| Input 3 | 2 |
| Input 4 | 298.15 |
| Input 5 | 0.1 |
| The screen shows | |
E0CELL= | 1.1 |
E CELL= | 1.129579675 |
DG0 KJ= | -212.2677307 |
DG KJ= | -217.9757402 |
LOG K= | 37.18769749 |
| Text | SPONTANEOUS |
How it's checked
6 test cases, each checked against the textbook formula it uses. Replayed key by key on a virtual TI-84 Plus CE, they make 43 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 “Nernst equation: cell potential and ΔG” (NERNST).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- ICE table: equilibrium concentrations
- Weak acid equilibrium pH
- Ideal gas law solver
- Limiting reagent and theoretical yield
- Weak-acid titration and buffer pH
All TI-84 Plus CE chemistry programs · All TI-84 Plus CE programs