E-Code

RLC resonance, Q, bandwidth and impedance — a TI-89 Titanium program

By E-Code · updated

RLC89 is a TI-89 BASIC program for the TI-89 Titanium. Series or parallel RLC (drop-down): resonant frequency, quality factor, bandwidth, and the impedance magnitude and phase at any frequency — each formula is one of your own Define'd functions.

What it asks for and what it shows

It asks for 4 values at its prompts, after you pick option 1 from its menu. In the example below it shows F0 HZ, Q, BW HZ, Z OHM, PHASE DEG.

Example run

One of its oracle test cases: “series RLC at 60 Hz”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Menuoption 1
Input 110
Input 20.05
Input 30.0001
Input 460
The screen shows
F0 HZ=71.17625434
Q=2.236067977
BW HZ=31.83098862
Z OHM=12.60654946
PHASE DEG=-37.51081015

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

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-89 Titanium programs