Block sliding onto a spring — a TI-84 Plus CE program
SPRDROP is a TI-BASIC program for the TI-84 Plus CE. Work-energy on an incline (or a vertical drop) with friction: maximum spring compression, speed at contact, peak spring force and acceleration, dynamic factor.
What it asks for and what it shows
It asks for 5 values at its prompts. In the example below it shows X MAX M, V CONT, X STAT, F SPR N, A PEAK, DYN FAC.
Example run
One of its oracle test cases: “vertical drop”. 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 | 800 |
| Input 3 | 0.5 |
| Input 4 | 90 |
| Input 5 | 0 |
| The screen shows | |
X MAX M= | 0.1830383295 |
V CONT= | 3.132091953 |
X STAT= | 0.024525 |
F SPR N= | 146.4306636 |
A PEAK= | 63.40533179 |
DYN FAC= | 7.463336574 |
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 “Block sliding onto a spring” (SPRDROP).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Rolling body on an incline
- Projectile with air drag (RK4)
- Slider-crank kinematics
- Oblique central impact
- Two-body orbit and Kepler's equation
All TI-84 Plus CE physics programs · All TI-84 Plus CE programs