Doppler effect for sound — a TI-84 Plus CE program
DOPPLER is a TI-BASIC program for the TI-84 Plus CE. Frequency heard when the source and/or the listener move (speeds toward each other positive, away negative), with the wavelength in front of the source; refuses a supersonic source.
What it asks for and what it shows
It asks for 4 values at its prompts. In the example below it shows HEARD, SHIFT, LAMBDA.
Example run
One of its oracle test cases: “ambulance approaching”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 343 |
| Input 2 | 700 |
| Input 3 | 30 |
| Input 4 | 0 |
| The screen shows | |
HEARD= | 767.0926518 |
SHIFT= | 67.09265176 |
LAMBDA= | 0.4471428571 |
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 18 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 “Doppler effect for sound” (DOPPLER).
- 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