E-Code

Time value of money solver (N, I%, PV, PMT, FV) — a TI-84 Plus CE program

By E-Code · updated

TVM is a TI-BASIC program for the TI-84 Plus CE. Solve for any one of periods, annual rate, present value, payment or future value from the other four, with the calculator's own sign convention (money you pay out is negative), end-of-period payments, any number of periods a year.

What it asks for and what it shows

It asks for 5 values at its prompts, after you pick option 4 from its menu. In the example below it shows N, I%, PV, PMT, FV, I PER.

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.

StepValue
You enter
Menuoption 4
Input 1360
Input 26.5
Input 3300000
Input 40
Input 512
The screen shows
N=360
I%=6.5
PV=300000
PMT=-1896.2
FV=0
I PER=0.005416666667

How it's checked

6 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 43 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-84 Plus CE finance programs · All TI-84 Plus CE programs