E-Code

Boiling point elevation, freezing point depression — a TI-84 Plus CE program

By E-Code · updated

COLLIG is a TI-BASIC program for the TI-84 Plus CE. Grams of solute, its molar mass, kilograms of solvent and the van 't Hoff factor: molality, the boiling-point rise and freezing-point drop, and the new boiling and freezing points (water, or your own Kb and Kf).

What it asks for and what it shows

It asks for 4 values at its prompts, after you pick option 1 from its menu. In the example below it shows MOLAL, DTB (C), DTF (C), BP (C), FP (C).

Example run

One of its oracle test cases: “1 m NaCl in water (i = 2)”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Menuoption 1
Input 158.44
Input 258.44
Input 31
Input 42
The screen shows
MOLAL=1
DTB (C)=1.024
DTF (C)=3.72
BP (C)=101.024
FP (C)=-3.72

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