E-Code

Amortization table into lists — a TI-89 Titanium program

By E-Code · updated

AMORT89 is a TI-89 BASIC program for the TI-89 Titanium. Loan amount, yearly rate, years and an optional extra payment: builds lists of the balance after every year, shows the table, then the payment, months to pay off and total interest.

What it asks for and what it shows

It asks for 4 values at its prompts. In the example below it shows PAYMENT, MONTHS, INTEREST, YR 4: , YR 5: .

Example run

One of its oracle test cases: “car loan 25000 at 4.9% for 5 years”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 125000
Input 24.9
Input 35
Input 40
The screen shows
PAYMENT=470.64
MONTHS=60
INTEREST=3238.18
YR 4: 5500.55
YR 5: 0

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 finance programs · All TI-89 Titanium programs