Contents 7
Part II: Programming....................................................85
Section 8: Programming Basics........................................................ 86
Why Use Programs? .................................................................................... 86
Creating a Program ...................................................................................... 86
Running a Program ...................................................................................... 87
Program Memory.......................................................................................... 88
Identifying Instructions in Program Lines................................................ 89
Displaying Program Lines....................................................................... 90
The
i000 Instruction and Program Line 000..................................... 91
Expanding Program Memory.................................................................. 91
Setting the Calculator to a Particular Program Line ............................... 93
Executing a Program One Line at a Time .................................................... 94
Interrupting Program Execution.................................................................... 95
Pausing During Program Execution ....................................................... 95
Stopping Program Execution.................................................................. 98
Section 9: Branching and Looping................................................. 101
Simple Branching ....................................................................................... 101
Looping....................................................................................................... 101
Conditional Branching ................................................................................ 104
Section 10: Program Editing............................................................. 110
Changing the Instruction in a Program Line ............................................... 110
Adding Instructions at the End of a Program.............................................. 111
Adding Instructions Within a Program ........................................................ 112
Adding Instructions by Replacement .................................................... 112
Adding Instructions by Branching ......................................................... 113
Section 11: Multiple Programs......................................................... 117
Storing Another Program............................................................................ 117
Running Another Program.......................................................................... 119
Part III: Solutions........................................................121
Section 12: Real Estate and Lending ............................................. 122
Annual Percentage Rate Calculations With Fees....................................... 122
Price of a Mortgage Traded at a Discount or Premium .............................. 124
Yield of a Mortgage Traded at a Discount or Premium .............................. 125
The Rent or Buy Decision........................................................................... 127
Deferred Annuities...................................................................................... 131
Section 13: Investment Analysis..................................................... 134
Partial-Year Depreciation ........................................................................... 134
Straight-Line Depreciation.................................................................... 134
Declining-Balance Depreciation ........................................................... 137
Sum-of-the-Years-Digits Depreciation.................................................. 139
Full- and Partial-Year Depreciation with Crossover.................................... 141
Excess Depreciation................................................................................... 145
Modified Internal Rate of Return................................................................. 145