E-Code

Depreciation schedule: SL, 200% DB, SYD — a TI-84 Plus CE program

By E-Code · updated

DEPREC is a TI-BASIC program for the TI-84 Plus CE. Year-by-year depreciation and book value by straight line, 200% declining balance (switching to straight line when that is larger, never below salvage) or sum-of-the-years'-digits, with the totals.

What it asks for and what it shows

It asks for 3 values at its prompts, after you pick option 1 from its menu. In the example below it shows TOTAL D, END BV.

Example run

One of its oracle test cases: “straight line 50000 → 5000 over 5”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Menuoption 1
Input 150000
Input 25000
Input 35
The screen shows
TOTAL D=45000
END BV=5000

How it's checked

8 test cases, each checked against the textbook formula it uses. Replayed key by key on a virtual TI-84 Plus CE, they make 36 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