E-Code

Calorimetry: mixing and melting ice — a TI-84 Plus CE program

By E-Code · updated

CALORIM is a TI-BASIC program for the TI-84 Plus CE. Mix two substances (mass, specific heat, temperature) to the final temperature and heat exchanged, or drop ice below 0 °C into warm water: the final temperature, or how much ice melts when it can't all melt.

What it asks for and what it shows

It asks for 6 values at its prompts, after you pick option 1 from its menu. In the example below it shows TF (C), Q1 (J), Q2 (J).

Example run

One of its oracle test cases: “hot water and aluminum”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Menuoption 1
Input 1200
Input 24.184
Input 380
Input 4150
Input 50.897
Input 620
The screen shows
TF (C)=71.6888866
Q1 (J)=-6954.739692
Q2 (J)=6954.739692

How it's checked

5 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 24 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