Compare two loans (APR with fees) — a TI-84 Plus CE program
LOANCMP is a TI-BASIC program for the TI-84 Plus CE. Two monthly-payment offers for the same amount, each with its own rate, term and up-front fees: payments, total cost, the true APR once fees are counted, and which one is cheaper overall and by how much.
What it asks for and what it shows
It asks for 7 values at its prompts. In the example below it shows PMT A, PMT B, TOT A, TOT B, APR A, APR B, B SAVES.
Example run
One of its oracle test cases: “mortgage: pay points for a lower rate?”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 250000 |
| Input 2 | 6.5 |
| Input 3 | 30 |
| Input 4 | 0 |
| Input 5 | 6 |
| Input 6 | 30 |
| Input 7 | 5000 |
| The screen shows | |
PMT A= | 1580.17 |
PMT B= | 1498.88 |
TOT A= | 568861.22 |
TOT B= | 544595.47 |
APR A= | 6.5 |
APR B= | 6.189476257 |
| Text | B SAVES |
How it's checked
4 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 30 checks.
How E-Code checks every program
Run it or put it on your calculator
- Open the library in the TI-84 Plus CE calculator and pick “Compare two loans (APR with fees)” (LOANCMP).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Loan amortization with extra payments
- Time value of money solver (N, I%, PV, PMT, FV)
- Compound interest calculator
- NPV, IRR, MIRR and payback
- Depreciation schedule: SL, 200% DB, SYD
All TI-84 Plus CE finance programs · All TI-84 Plus CE programs