Oblique central impact — a TI-84 Plus CE program
IMPACT is a TI-BASIC program for the TI-84 Plus CE. Two smooth bodies with a coefficient of restitution: normal velocities after impact, speeds, kinetic energy lost. Momentum and the restitution relation are enforced.
What it asks for and what it shows
It asks for 7 values at its prompts. In the example below it shows V1N NEW, V2N NEW, SPEED1, SPEED2, KE LOST, LOST %.
Example run
One of its oracle test cases: “e = .6”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 2 |
| Input 2 | 3 |
| Input 3 | 5 |
| Input 4 | 1 |
| Input 5 | -1 |
| Input 6 | 2 |
| Input 7 | 0.6 |
| The screen shows | |
V1N NEW= | -0.76 |
V2N NEW= | 2.84 |
SPEED1= | 1.256025477 |
SPEED2= | 3.473557254 |
KE LOST= | 13.824 |
LOST %= | 41.26567164 |
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 “Oblique central impact” (IMPACT).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Rocket in gravity (Tsiolkovsky)
- Projectile with air drag (RK4)
- Slider-crank kinematics
- Block sliding onto a spring
- Two-body orbit and Kepler's equation
All TI-84 Plus CE physics programs · All TI-84 Plus CE programs