E-Code

Psychrometrics: wet-bulb and dew point — a TI-84 Plus CE program

By E-Code · updated

WETBULB is a TI-BASIC program for the TI-84 Plus CE. Humidity ratio, dew point, wet-bulb temperature (energy balance solved by bisection), enthalpy and specific volume of moist air.

What it asks for and what it shows

It asks for 3 values at its prompts. In the example below it shows W, DEW PT, WETBULB, H KJ/KG, V M3/KG.

Example run

One of its oracle test cases: “25 C 50% sea level”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 125
Input 250
Input 3101.325
The screen shows
W=0.009858223111
DEW PT=13.85761254
WETBULB=17.89324165
H KJ/KG=50.26382338
V M3/KG=0.8580122727

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 31 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

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