Flat-plate boundary layer and drag — a TI-84 Plus CE program
BLAYER is a TI-BASIC program for the TI-84 Plus CE. Reynolds numbers, laminar or turbulent boundary-layer thickness and local friction at a station, mixed-flow average drag coefficient and total drag on the plate.
What it asks for and what it shows
It asks for 6 values at its prompts. In the example below it shows RE X, DEL MM, CF X, CF AVG, DRAG N, LAMINAR AT X.
Example run
One of its oracle test cases: “air, laminar”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 5 |
| Input 2 | 0.2 |
| Input 3 | 0.5 |
| Input 4 | 15 |
| Input 5 | 1.2 |
| Input 6 | 0.5 |
| The screen shows | |
RE X= | 66666.66667 |
DEL MM= | 3.872983346 |
CF X= | 0.002571660942 |
CF AVG= | 0.003252922378 |
DRAG N= | 0.01219845892 |
| Text | LAMINAR AT X |
How it's checked
4 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 27 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 “Flat-plate boundary layer and drag” (BLAYER).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Pipe friction: Colebrook, Darcy-Weisbach
- Terminal settling velocity of a sphere
- Pipe network: series + parallel
- Venturi meter and Pitot tube
- Open channel: Manning, critical depth
All TI-84 Plus CE engineering programs · All TI-84 Plus CE programs