E-Code

Rolling body on an incline — a TI-84 Plus CE program

By E-Code · updated

ROLLBODY is a TI-BASIC program for the TI-84 Plus CE. Disk, hoop, sphere or any radius of gyration rolling down a slope: acceleration, friction needed, slip check, and speed and time after a distance.

What it asks for and what it shows

It asks for 4 values at its prompts. In the example below it shows A M/S2, MU MIN, F/MG, ALPHA*R, V AT D, T AT D, ROLLS, NO SLIP.

Example run

One of its oracle test cases: “solid cylinder, sticks”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 10.5
Input 230
Input 30.4
Input 43
The screen shows
A M/S2=3.27
MU MIN=0.1924500897
F/MG=0.1666666667
ALPHA*R=3.27
V AT D=4.429446918
T AT D=1.354570923
TextROLLS, NO SLIP

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 39 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