Harmonics: string, open pipe, closed pipe — a TI-84 Plus CE program
WAVES is a TI-BASIC program for the TI-84 Plus CE. Wave speed and the first five resonant frequencies of a string fixed at both ends (from tension and linear density), a pipe open at both ends, or a pipe closed at one end — odd harmonics only, numbered F1, F3, F5, F7, F9 (fn = nv/4L).
What it asks for and what it shows
It asks for 3 values at its prompts, after you pick option 1 from its menu. In the example below it shows WAVE V, F1, F2, F3, F4, F5.
Example run
One of its oracle test cases: “guitar string”. 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 | 0.65 |
| Input 2 | 70 |
| Input 3 | 0.00125 |
| The screen shows | |
WAVE V= | 236.6431913 |
F1= | 182.0332241 |
F2= | 364.0664482 |
F3= | 546.0996723 |
F4= | 728.1328964 |
F5= | 910.1661205 |
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 “Harmonics: string, open pipe, closed pipe” (WAVES).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Projectile motion solver
- Kinematics: the five constant-acceleration equations
- Projectile launched from a height
- Thin lens, mirror, lensmaker and two-lens system
- Simple harmonic motion: spring or pendulum
All TI-84 Plus CE physics programs · All TI-84 Plus CE programs