E-Code

Weak-acid titration and buffer pH — a TI-84 Plus CE program

By E-Code · updated

ACIDBASE is a TI-BASIC program for the TI-84 Plus CE. pH at any point of a weak acid + NaOH titration (start, buffer region, equivalence, excess base) with the equivalence volume, or the pH of an HA/A- buffer — both from the exact charge balance, with Henderson-Hasselbalch alongside.

What it asks for and what it shows

It asks for 5 values at its prompts, after you pick option 1 from its menu. In the example below it shows PH, POH, PKA, VEQ ML, START: WEAK ACID.

Example run

One of its oracle test cases: “acetic acid, before any base”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Menuoption 1
Input 11.8ᴇ⁻5
Input 20.1
Input 325
Input 40.1
Input 50
The screen shows
PH=2.87527706
POH=11.12472294
PKA=4.744727495
VEQ ML=25
TextSTART: WEAK ACID

How it's checked

7 test cases, each checked against an independent method. 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

Related programs

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