E-Code

Mohr's circle: stress transformation — a TI-84 Plus CE program

By E-Code · updated

MOHR is a TI-BASIC program for the TI-84 Plus CE. Plane stress σx, σy, τxy: the stresses on a face rotated by any angle, the principal stresses and their angle, the maximum in-plane shear, the circle's center, and the von Mises stress.

What it asks for and what it shows

It asks for 4 values at its prompts. In the example below it shows SX ROT, SY ROT, TXY ROT, S1, S2, THETA P, TAU MAX, CENTER, VON MIS.

Example run

One of its oracle test cases: “textbook element, rotate 30°”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 180
Input 2⁻40
Input 330
Input 430
The screen shows
SX ROT=75.98076211
SY ROT=-35.98076211
TXY ROT=-36.96152423
S1=87.08203932
S2=-47.08203932
THETA P=13.28252559
TAU MAX=67.08203932
CENTER=20
VON MIS=117.8982612

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 44 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

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