Time value of money: leave one blank — a TI-89 Titanium program
TVM89 is a TI-89 BASIC program for the TI-89 Titanium. N, I%, PV, PMT and FV in one dialog — leave the unknown BLANK (money paid out is negative, payments at period end); the rate is found by scan and bisection.
What it asks for and what it shows
It asks for 6 values at its prompts. In the example below it shows N, I%, PV, PMT, FV.
Example run
One of its oracle test cases: “mortgage payment”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 360 |
| Input 2 | 6.5 |
| Input 3 | 300000 |
| Input 4 | |
| Input 5 | 0 |
| Input 6 | 12 |
| The screen shows | |
N= | 360 |
I%= | 6.5 |
PV= | 300000 |
PMT= | -1896.2 |
FV= | 0 |
How it's checked
6 test cases, each checked against an independent method. Replayed key by key on a virtual TI-89 Titanium, they make 38 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 “Time value of money: leave one blank” (TVM89).
- 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
- Amortization table into lists
- 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