Air-standard Otto, Diesel, Brayton — a TI-84 Plus CE program
AIRCYCLE is a TI-BASIC program for the TI-84 Plus CE. State temperatures, net work, thermal efficiency and mean effective pressure for the ideal engine cycles, with cold-air constants.
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 T2 K, T3 K, T4 K, W KJ/KG, EFF, MEP KPA, P3 KPA.
Example run
One of its oracle test cases: “Otto, r = 8”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Menu | option 1 |
| Input 1 | 300 |
| Input 2 | 100 |
| Input 3 | 8 |
| Input 4 | 1800 |
| The screen shows | |
T2 K= | 689.219013 |
T3 K= | 3197.929814 |
T4 K= | 1391.979801 |
W KJ/KG= | 1016.504493 |
EFF= | 0.5647247184 |
MEP KPA= | 1349.26762 |
P3 KPA= | 8527.812838 |
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 57 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 “Air-standard Otto, Diesel, Brayton” (AIRCYCLE).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Polytropic process, ideal gas
- Real gas: van der Waals, Redlich-Kwong
- Entropy generation, lost work
- Chemical equilibrium: N2O4 <-> 2NO2
- RC circuit charging transient
All TI-84 Plus CE engineering programs · All TI-84 Plus CE programs