Gas stoichiometry: grams to liters of gas — a TI-84 Plus CE program
GASSTOI is a TI-BASIC program for the TI-84 Plus CE. From grams of a reactant (its molar mass and coefficient) to the moles of a gas product (its coefficient) and that gas's volume at any temperature and pressure, plus the volume it would have at STP.
What it asks for and what it shows
It asks for 6 values at its prompts. In the example below it shows MOL GAS, V (L), V STP L.
Example run
One of its oracle test cases: “limestone to CO2 at 25 C, 1 atm”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 10 |
| Input 2 | 100.09 |
| Input 3 | 1 |
| Input 4 | 1 |
| Input 5 | 25 |
| Input 6 | 1 |
| The screen shows | |
MOL GAS= | 0.09991008093 |
V (L)= | 2.444341474 |
V STP L= | 2.239382437 |
How it's checked
4 test cases, each checked against the textbook formula it uses. Replayed key by key on a virtual TI-84 Plus CE, they make 18 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 “Gas stoichiometry: grams to liters of gas” (GASSTOI).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Ideal gas law solver
- Weak acid equilibrium pH
- Limiting reagent and theoretical yield
- ICE table: equilibrium concentrations
- Weak-acid titration and buffer pH
All TI-84 Plus CE chemistry programs · All TI-84 Plus CE programs