E-Code

Venturi meter and Pitot tube — a TI-84 Plus CE program

By E-Code · updated

VENTURI is a TI-BASIC program for the TI-84 Plus CE. Venturi: flow rate from the differential pressure with a discharge coefficient, velocities, and the pressure lost. Pitot: velocity from a manometer reading.

What it asks for and what it shows

It asks for 5 values at its prompts, after you pick option 1 from its menu. In the example below it shows Q L/S, V1 M/S, V2 M/S, BETA, LOSS KP.

Example run

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

StepValue
You enter
Menuoption 1
Input 1100
Input 250
Input 30.98
Input 430
Input 5998
The screen shows
Q L/S=15.40922094
V1 M/S=1.961962945
V2 M/S=7.84785178
BETA=0.5
LOSS KP=1.188

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