E-Code

Slider-crank kinematics — a TI-84 Plus CE program

By E-Code · updated

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.

StepValue
You enter
Input 10.05
Input 20.15
Input 33000
Input 460
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

Related programs

All TI-84 Plus CE physics programs · All TI-84 Plus CE programs