Shaft diameter for bending and torsion, step by step — a TI-89 Titanium program
SHAFTD is a TI-89 BASIC program for the TI-89 Titanium. A solid round shaft with a bending moment M and a torque T, a yield strength Sy and a safety factor n. Step by step: the bending and torsion stresses in terms of d, then the von Mises and the Tresca design equations, each solved for the diameter by the algebra system, and the diameter to use.
What it asks for and what it shows
It asks for 4 values at its prompts. In the example below it shows von Mises d mm, Tresca d mm, d mm, 2 VON MISES (CAS solve), 3 TRESCA (CAS solve), 4 ANSWER.
Example run
One of its oracle test cases. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 800 |
| Input 2 | 1200 |
| Input 3 | 350 |
| Input 4 | 2.5 |
| The screen shows | |
von Mises d mm= | 45.69606089 |
Tresca d mm= | 47.16660085 |
d mm= | 45.69606089 |
| Text | 2 VON MISES (CAS solve) |
| Text | 3 TRESCA (CAS solve) |
| Text | 4 ANSWER |
How it's checked
4 test cases, each checked against an independent method. Replayed key by key on a virtual TI-89 Titanium, they make 32 checks.
How E-Code checks every program
Run it or put it on your calculator
- Open the library in the TI-89 Titanium calculator and pick “Shaft diameter for bending and torsion, step by step” (SHAFTD).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Principal stresses in 3D, step by step
- Mohr's circle and plane-stress transformation, step by step
- Propped cantilever by double integration, step by step
- Series RLC step response, step by step
- Two-mass vibration: natural frequencies and mode shapes, step by step
All TI-89 Titanium engineering programs · All TI-89 Titanium programs