Amortization table into lists — a TI-89 Titanium program
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.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 25000 |
| Input 2 | 4.9 |
| Input 3 | 5 |
| Input 4 | 0 |
| 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
- Open the library in the TI-89 Titanium calculator and pick “Amortization table into lists” (AMORT89).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Loan payment with a TI-89 dialog
- Time value of money: leave one blank
- Linear regression with exact slope
- Titration curve: pH for a list of volumes
- t test and interval from data lists
All TI-89 Titanium finance programs · All TI-89 Titanium programs