Slider-crank kinematics — a TI-84 Plus CE program
SLIDER is a TI-BASIC program for the TI-84 Plus CE. Piston position, velocity and acceleration and the connecting-rod angular velocity at a crank angle, plus the peak piston speed over a full turn. AT DEG is the first crank angle (0-180) where it occurs; the same speed recurs at 360 minus that angle.
What it asks for and what it shows
It asks for 4 values at its prompts. In the example below it shows X M, V M/S, A M/S2, ROD W, VMAX, AT DEG.
Example run
One of its oracle test cases: “60 deg”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 0.05 |
| Input 2 | 0.15 |
| Input 3 | 3000 |
| Input 4 | 60 |
| The screen shows | |
X M= | 0.1686140662 |
V M/S= | -15.97155979 |
A M/S2= | -1647.409519 |
ROD W= | -54.68810851 |
VMAX= | 16.56613798 |
AT DEG= | 73 |
How it's checked
5 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 35 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 “Slider-crank kinematics” (SLIDER).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Polar-coordinate kinematics
- Projectile with air drag (RK4)
- Oblique central impact
- 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