E-Code

2-DOF vibration: modes — a TI-84 Plus CE program

By E-Code · updated

VIB2 is a TI-BASIC program for the TI-84 Plus CE. Two masses, three springs: both natural frequencies from the characteristic quadratic, in rad/s and Hz, and the mode-shape ratios.

What it asks for and what it shows

It asks for 5 values at its prompts. In the example below it shows W1, W2, F1 HZ, F2 HZ, X2/X1 1, X2/X1 2.

Example run

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

StepValue
You enter
Input 12
Input 23
Input 31200
Input 4800
Input 51500
The screen shows
W1=23.1629546
W2=35.07341159
F1 HZ=3.686498722
F2 HZ=5.582106826
X2/X1 1=1.158693835
X2/X1 2=-0.5753605019

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