Loan payment with a TI-89 dialog — a TI-89 Titanium program
LOAN89 is a TI-89 BASIC program for the TI-89 Titanium. A dialog box asks for amount, yearly rate and years; shows the monthly payment, number of months and total interest.
What it asks for and what it shows
It asks for 3 values at its prompts. In the example below it shows PAYMENT, MONTHS, INTEREST.
Example run
One of its oracle test cases: “30-year mortgage 300000 at 6.5%”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 300000 |
| Input 2 | 6.5 |
| Input 3 | 30 |
| The screen shows | |
PAYMENT= | 1896.2 |
MONTHS= | 360 |
INTEREST= | 382633.47 |
How it's checked
3 test cases, each checked against an independent method. Replayed key by key on a virtual TI-89 Titanium, they make 15 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 “Loan payment with a TI-89 dialog” (LOAN89).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Amortization table into lists
- Time value of money: leave one blank
- One-sample z test and interval (dialog)
- Projectile from a height (dialog, m or ft)
- Kinematics: leave the two unknowns blank
All TI-89 Titanium finance programs · All TI-89 Titanium programs