(1) S = R, where S is the sum, i is the rate of interest per compounding



Similar documents
Getting to know your TI-83

Academic Support Center. Using the TI-83/84+ Graphing Calculator PART II

14 Financial. Functions. Financial Functions Contents

Some Mathematics of Investing in Rental Property. Floyd Vest

Math Tools Cell Phone Plans

Guide for Texas Instruments TI-83, TI-83 Plus, or TI-84 Plus Graphing Calculator

Pre-Calculus Graphing Calculator Handbook

I. Turn it on: Press É

Introduction to the Graphing Calculator

Lesson 3 Using the Sine Function to Model Periodic Graphs

THE VALUE OF MONEY PROBLEM #3: ANNUITY. Professor Peter Harris Mathematics by Dr. Sharon Petrushka. Introduction

Finance Application for the TI-89 / TI-92 Plus

EL-9650/9600c/9450/9400 Handbook Vol. 1

first complete "prior knowlegde" -- to refresh knowledge of Simple and Compound Interest.

Dick Schwanke Finite Math 111 Harford Community College Fall 2013

Dick Schwanke Finite Math 111 Harford Community College Fall 2015

1. Annuity a sequence of payments, each made at equally spaced time intervals.

DATA HANDLING AND ANALYSIS ON THE TI-82 AND TI-83/83 PLUS GRAPHING CALCULATORS:

Objectives. Materials

Calculating the Value of Social Security Benefits for Different Retirement Ages. Floyd Vest

How To Use The Ti-83+/84+ Calculator For Math 111

Calculator Notes for the TI-89, TI-92 Plus, and Voyage 200

TIME VALUE OF MONEY PROBLEM #4: PRESENT VALUE OF AN ANNUITY

If we denote the monthly payment by p, then we can compute the balance after one month as

Activity 3.1 Annuities & Installment Payments

Review Page 468 #1,3,5,7,9,10

ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

APPLYING PRE-CALCULUS/CALCULUS SHARP EL Graphing Calculator DAVID P. LAWRENCE

A Slide Show Demonstrating Newton s Method

During the analysis of cash flows we assume that if time is discrete when:

Saving Money for Finance Students by Utilizing the TVM Capabilities of Graphing Calculators

TI-83 GRAPHING CALCULATOR GUIDEBOOK

Future Value of an Annuity Sinking Fund. MATH 1003 Calculus and Linear Algebra (Lecture 3)

9.2 Summation Notation

USING A TI-83 OR TI-84 SERIES GRAPHING CALCULATOR IN AN INTRODUCTORY STATISTICS CLASS

Unit 7 Quadratic Relations of the Form y = ax 2 + bx + c

Objectives. Materials

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

EASY STEPS TO SUCCESS: A GRAPHING CALCULATOR GUIDE

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Roots of Equations (Chapters 5 and 6)

Introductory Handbook for the TI-89 Titanium

Grade Level Year Total Points Core Points % At Standard %

Part V: Texas Instruments TI-92, TI-92 Plus, Voyage 200

Definition: A vector is a directed line segment that has and. Each vector has an initial point and a terminal point.

MATH 132: CALCULUS II SYLLABUS

In the Herb Business, Part III Factoring and Quadratic Equations

Chapter. Numerical Calculations

How Does My TI-84 Do That

Financial Literacy in Grade 11 Mathematics Understanding Annuities

AP CALCULUS AB 2009 SCORING GUIDELINES

The Basics of Interest Theory

TI-83 GRAPHING CALCULATOR BASIC OPERATIONS by Carolyn Meitler Concordia University Wisconsin

Calculator Notes for the TI-89, TI-92 Plus, and Voyage 200

Excel Guide for Finite Mathematics and Applied Calculus

Time Value of Money Revisited: Part 1 Terminology. Learning Outcomes. Time Value of Money

2 Describing, Exploring, and

V. Systems of Equations and Inequalities

Reducing balance loans

This is Time Value of Money: Multiple Flows, chapter 7 from the book Finance for Managers (index.html) (v. 0.1).

Don't Forget the Differential Equations: Finishing 2005 BC4

Section Compound Interest

TI-83/84 Plus Graphing Calculator Worksheet #2

TVM Applications Chapter

TI-Nspire CAS Graphing Calculator

Aim. Decimal Search. An Excel 'macro' was used to do the calculations. A copy of the script can be found in Appendix A.

7.1 Graphs of Quadratic Functions in Vertex Form

Birmingham City Schools

2 The Mathematics. of Finance. Copyright Cengage Learning. All rights reserved.

Equations, Lenses and Fractions

Polynomials. Dr. philippe B. laval Kennesaw State University. April 3, 2005

The time value of money: Part II

MAT116 Project 2 Chapters 8 & 9

College Teaching Methods & Styles Journal September 2008 Volume 4, Number 9

Solutions of Equations in One Variable. Fixed-Point Iteration II

14. Nonlinear least-squares

Thnkwell s Homeschool Precalculus Course Lesson Plan: 36 weeks

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities

Zeros of Polynomial Functions

Scatter Plot, Correlation, and Regression on the TI-83/84

Georgia Department of Education Kathy Cox, State Superintendent of Schools 7/19/2005 All Rights Reserved 1

Taylor and Maclaurin Series

Linear Equations. 5- Day Lesson Plan Unit: Linear Equations Grade Level: Grade 9 Time Span: 50 minute class periods By: Richard Weber

Graphing Parabolas With Microsoft Excel

FX 115 MS Training guide. FX 115 MS Calculator. Applicable activities. Quick Reference Guide (inside the calculator cover)

BookTOC.txt. 1. Functions, Graphs, and Models. Algebra Toolbox. Sets. The Real Numbers. Inequalities and Intervals on the Real Number Line

Mathematics. Rosella Castellano. Rome, University of Tor Vergata

Chapter 3 Mathematics of Finance

TIME VALUE OF MONEY. Hewlett-Packard HP-12C Calculator

TOPIC 4: DERIVATIVES

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

The values in the TVM Solver are quantities involved in compound interest and annuities.

FACTORING QUADRATICS and 8.1.2

Mathematics Georgia Performance Standards

Let P denote the payment amount. Then the accumulated value of the annuity on the daughter s eighteenth birthday is. P s 18.

x), etc. In general, we have

Regular Annuities: Determining Present Value

Vieta s Formulas and the Identity Theorem

5.1 Derivatives and Graphs

Transcription:

Solving Annuity Formulas for Interest Rate Iterative Routines on the TI 83/84 Floyd Vest Basic to mathematics of finance is the formula for the sum of an ordinary annuity. The formula in traditional terminology is n (1 + i) 1 (1) S = R, where S is the sum, i is the rate of interest per compounding i period, R is termed rent which is generic for payment or withdrawal per compounding period, n is the number of compounding periods (Bowen, 1976). (See the manuals for the TI 83/84 for notation and annuity formulas for the TVM Solver. See in this course, Vest, Floyd, A Master Time Value of Money Formula, for derivations of the annuity formulas as used in the TVM Solver.) Most students are aware that they can solve explicitly for all variables in annuity formulas except for i. (See the Exercises.) It is well know that there are iterative programs for solving numerically for i. Programming the TI83/84 to compute i in the formula for the sum of an ordinary annuity (Newton s Method). (We note that the original Formula 1 is undefined at i = 0.) Newton's method uses some differential calculus. Many students studying financial mathematics have had calculus or are studying it concurrently. Formula 1 can be written as (2) 0 = R(1 + i) n Si R. Let (3) f(i) = R(1 + i) n Si R and solve Formula 2 for i. The first derivative of f(i) is (4) f '(i) = nr(1 + i) n 1 S. Newton s iteration formula is f( ik ) (5) ik+ 1 = ik. Substituting we have f '( i ) K n R(1 + ik) SiK R (6) ik+ 1 = ik for K = 0, 1, 2,, which converges to the desired n 1 nr(1 + ik ) S root under certain circumstances. For programming the TI83/84, we determine the variables as follows: store i K in I, R in R, S in S, and n in N. (Letters on the TI83 are not in italics.) Example 1 The following is an example of entering a program and TI 83/84 code that evaluates i K+1 from i K and displays i K+1 as I. (See Chapter 16 of the TI83 manual.) We will first set up an Input program separate from the calculate program. TI83 code and commentary: Press Prgm > > to display the Prgm New menu. Press Enter to select 1: Create New. Then the Name = prompt is displayed and alpha lock is on. Press I N P U T and then Enter to name the program Input. You are now in the program editor. The colon in the first column indicates the beginning of a command line. Solving Annuity Formulas for Interest Rate May, 2012 1

Press Prgm > 2 to select 2: Prompt from the I/O menu. Prompt appears on the command line. Press Alpha R, Alpha S, Alpha N, and Alpha I for the first estimate and subsequent estimates for i K, K = 0, 1, 2,. Press Enter. To enter the calculating program: TI83/84 code and commentary: Press Prgm > > to display the Prgm New menu. Press Enter to select : 1Create New. Then the Name = prompt appears, and alpha lock is on. Write C A L C Enter to name the program CALC. Press Prgm > 3 to select 3:Disp from the Prgm I/O menu. Disp appears on the command line. Press Alpha I Enter to set the program to display i K. f( ik ) Write the following code to enter the expression ik = i and store i K+ 1 K+1 in I. f '( ik ) Precede each letter with Alpha. Press I ( ( R ( 1 + I ) N S I R ) ( N R ( 1 + I ) ( N 1 ) S ) ) I. Press 2 nd Quit for the home screen. Press Clear to clear the home screen. Press Prgm to display the Prgm Exec menu. You may see 1:Input. Press Enter to paste Prgm Input to the cursor. Press Enter to execute the program. You will see R =?. Write 100 Enter. For S =?, write 3350.29 Enter. For N =?, write 30 Enter. For I =? write.01 Enter for the first estimate i 0. To run the program Calc with these inputs, press Prgm 2 Enter for Calc. Press Enter you will see.01 for i 0 and.0080374325 for i 1. Again press Prgm 2 Enter for i 2 =.00753607. Again press Prgm 2 Enter for i 3 =.00750011803. Again press Prgm 2 Enter for i 4 =.00074999963. Within the capabilities of the calculator and the program, the convergence to.0075 is complete. (See the Exercises for a word problem and formula with these inputs. See the Exercises for using the TI83/84 TVM Solver for this example.) This particular program has been written so that the user can participate in the iteration and watch the sequence of estimates converge. It is the task of Calculus to derive Newton s Formula and prove the convergence of the sequence. It is the task of a course in numerical methods to investigate conditions for convergence to selected roots, convergence tests, and more efficient and general programs such as those in the TI83/84 TVM Solver. Investigating f(i) (Formula 3) for possible nonnegative roots Examination of f(i) = 0 reveals a root at i = 0. Descartes Rule of Signs indicates that there is only one positive root. This information suggest a graphing window of Xmin =.002, Xmax =.01, Xscl =.001, Ymin = 1, Ymax = 2, Yscl = 1. Trace suggests the root of 0.0075, which we have calculated. The graph indicates a relative minimum at about 0.0075/2 = 0.00375, actually at 0.0038153. To experiment with the results of a Solving Annuity Formulas for Interest Rate May, 2012 2

choice of a first estimate, try i 0 as 0.0025 to the left of the relative minimum i value, and run the two programs. You will see a convergence to the zero root. Later courses will address the topic of the choice of the first estimate. Try i 0 as 0.005 on the other side of the relative minimum i value. You will see slower convergence to 0.0075. A better understanding of Newton s Formula would predict these results. Programming to compute interest rate in the formula for the present value of an ordinary annuity (Fixed Point Method) We present the formula in the following notation: 1 (1 + R) N (7) A= M, where A is the present value, M is the rent or payment at R the end of each compounding period, R is the interest rate per compounding period, and N is the number of compounding periods. Manipulating the formula gives RA = M[1 (1 + R) N ] and (AR M)(1 + RI N + M = 0. If we let X = 1 + R for R > 0, then X N (AX A M) + M = 0 and M N (8) 1+ ( 1 X ) = X. Therefore X is a fixed point of A (8.1) f ( X ) = 1+ M A 1! X! N ( ) where X > 1. For the fixed point method, X K+1 = f(x K ) converges to the desired root of f(x) = X under certain conditions. The following theorem states more precisely the conditions for this convergence. Theorem: Assume a function f defined on a closed interval J, and f maps J into itself. If f is differentiable on J and f(x) k for all X in J for some nonnegative constant k < 1, then f has exactly one fixed point in J. Furthermore, its value may be determined by first choosing any point X 0 in J, and then generating the sequence X 1, X 2,... by letting X K+1 = f(x K ) for K = 0, 1, 2,. This sequence will converge to the fixed point (Conte and deboor 1980, p. 90). Example 2 To solve numerically Formula 7 and Formula 8 for X = 1 + R we set up the programs INPUTA and CALCA. To setup INPUTA, press Prgm > > to display the PrgmNew menu. Press Enter to select 1:CreatNew. Then the Name= prompt is displayed and alpha lock is on. Press I N P U T A and then Enter to name the program. You are now in the program editor. Press Prgm > 2 to select 2:Promt from the I/O menu. Promt appears on the command line. Press Alpha A, Alpha M, Alpha N, and X for X 0 and successive estimates which will converge to the desired root. Press Enter. To setup program CALCA, Prgm > > Enter to get Create New. For Name =, write in C A L C A Enter. Prgm > 3. You see Disp. Write X Enter. Then write the iteration formula 1 + ( Alpha M Alpha A ) ( 1 X (-) Alpha N ) X. Press 2 nd Quit and clear the home screen. Solving Annuity Formulas for Interest Rate May, 2012 3

To run the programs, Prgm Select PrgmExec. Select InputA. Enter A = 50000, M = 1660.72, N = 36, X = 1.2 for the first estimate. Enter Prgm Select CALCA Enter Enter Enter. You see gradual convergence to the desired X = 1.01 for R =.01. (See the Exercises for a problem with this input data and solution.) (This program converges slowly. For an accelerator formula, see Conte and deboor 1980, p. 98). Investigating a present value formula for possible roots We consider a simpler example that is more manageable on the TI83/84 grapher. 2 1 (1 + x) (9) 1.833 = 1, x 0, and graph g(x) = (1 + x) 2 1.833x + 1. Use the x Window: Xmin=-2, Xmax=2, Xscl=1, Ymin=-10, Ymax=10, Yscl=1. You get an interesting graph of g(x) with roots 0, 0.06, 1.515, and asymptotes x = 1 and g(x) = 1.833x + 1, and a relative maximum between 0 and 0.06. Although g(x) could be considered defined at zero, giving another root of 0, Formula 9 is not. Again, without a careful choice of the first estimate, the program might give unexpected results. Solving Annuity Formulas for Interest Rate May, 2012 4

Exercises 1. Read the theory before Example 1 and do the programming steps and run the programs. Report your device and some of your results. Run program Calc again with a different first estimate such as 0.009. Report the results. 2. Read the theory before Example 2 and do the programming steps and run the programs. Report your device and some of your results. Run program CalcA again with a different first estimate such as 1.1 for X. Report the results for X and R. 3. For the inputs for Formula 1, we give the following word problem. A person was depositing $100 at the end of each month in a savings account to pay a debt due in 30 months of $3350.29. What was the monthly and annual interest rate? Substitute into Formula 1 and solve for i. Report your method of solving and the answer in monthly and annual terms. Try the TVM Solver on the TI83/84. 4. Make up and solve a word problem for the input for the program InputA. Substitute in Formula 7. Report you method of solving and the answer in monthly and annual terms. 5. See if you can squeeze a revision of Programs Input and Calc into an inexpensive scientific calculator with a programming feature. Give the name of the calculator, the price of the calculator, your program code, and the results of the iterations. 6. Use a Newton s Method program to solve for the positive root x in this word problem. An amount of $105.97 is saved at the end of each month for 36 months to get $3938.22. What is i = the monthly rate? What is the annual rate? Report your experience point of convergence, first estimate, number of iterations, program code, and calculator. Report any insights you have into Newton s Method. Report a generalization of your method of calculating the first derivative. 7. Use a Fixed Point Method program for solving Formula 9. Use X 0 = 1 + x = 1.1. Try other values and see what happens. 8. Report your success in graphing Formula 7 with the inputs in program InputA, in the form g(r) = 1660.72(1 + R) 36 50000R + 1660.72. Try different windows, Zoom, and Trace. Report your device and what information you manage to get from the effort. See if the TVM Solver can calculate the root. 9. (a) For f(x) = (1 + x) N 3.4725x 1 give an annuity formula. Make a word problem for a practical value of N and solve it. (b) Investigate the graph and roots of f(x) = 0 for N = 2, 3, 4, 5. What does Descartes Rule of Signs say about roots? What does the TVM Solver report about roots? Estimate the positive and negative roots. Report your results and generalizations. Solving Annuity Formulas for Interest Rate May, 2012 5

10. For Formula 9, devise a guess and check method for solving for a positive root. Use bisection averaging estimates from opposite side of the root to acquire a next estimate. Devise a notation and write out the steps and tests. 11. (a) Solve this two-step word problem. Write the formulas and draw timelines. A person owes $5000 in 36 months. He has $1000 to deposit at 2% compounded monthly to pay part of it. How much should he save at the end of each month in the account to pay the rest? (b) Write and solve your own two-step word problem. See how creative and varied you can be. (c) Appoint a class committee to check the problems and their answers. Collect the problems for an exercise for the next financial mathematics class. 12. Solve Formulas 1 and 7 explicitly for the variables. 13. (a) Write Formula 7 in terms of X = 1 + R. For what value of X is Formula 7 undefined? (b) Write formula 8.1 for M = 1660.72, A = 50,000, N = 36. What is f(1.01)? (c) Graph f(x) with these given values of M, A, and N. Use Window: 0, 2,.1, -.5, 1.5,.1. (d) Press TRACE and track the curve. What does f(x) approach as X gets larger? Type 1.01 Enter What do you get? (e) Use the calculator while in Trace with 2 nd Calc dy/dx to calculate the slope of the curve at points close to 0.91, 1, 1.01, 1.02, 1.1. Then calculate the angle of inclination from the x-axis of the tangent line to the curve in degrees for each point. Record the values X, Y, dy/dx, and tan 1 (dy/dx). (f) What is the fixed point for f(x)? (g) Estimate slope at X = 0.91 by slope = rise f (x +!x) " f (x) = with Δx = 0.001. run!x (i) For what value of X is f(x) = 0? 15. Make up a Newton s Method program with InputB and CalcB to solve the present value of an ordinary annuity Formula 7. Follow steps (2), (3), (4), and (5) to set up the iteration formula. The first derivative, f '(R) = ( M)( N)(1 + R) N 1 A. Make up a test problem where all variables are known, with 0 < R < 1, to test the program. Solving Annuity Formulas for Interest Rate May, 2012 6

Side Bar Notes For many years, unknowns in financial mathematics formulas were found by using as many as four tables that were inadequate for many applications (Bowen, 1976). Interpolation between table values was often done by hand calculations. In some of the major financial literature, it is still stated that annuity formulas are solved for interest rate by simple guess and check. Solving Annuity Formulas for Interest Rate May, 2012 7

References Vest, Floyd, Computerized Business Calculus Using Calculators, Examples from Mathematics of Finance, Journal of Computers in Mathematics and Science Teaching, Vol. 10(4) Summer 1991. (The current article is an adaptation from the 1991 article. The author found it difficult to acquire a pdf copy and permission from the print editor and from electronic resources.) Conte, S. D. and C. deboor, Elementary Numerical Analysis, Third Edition, McGraw- Hill, 1980. Bowen, E. K., Mathematics with Applications in Management and Economics, Fourth Edition, Richard D. Erwin, 1976. Texas Instruments, TI-83 Graphing Calculator Guidebook, 1996 Solving Annuity Formulas for Interest Rate May, 2012 8

Answers to Exercises 9. (a) 3.4725 = (1 ) N + i 1. i (b) N Descartes Rule TVM Solver Roots 2 1 pos. root 1.4725 No neg. roots 3 1 neg. root 1 pos. root 0.15 0.15 and approx. 3.15 4 1 neg. root No pos. roots 0.09362 5 2 neg. roots or none No pos. roots 0.1834 0.1834 and approx. 2.5 Exercise: Describe the investment results given by the roots for N = 2, 3, and 4. Can you make the TVM Solver report a root of zero? Graph this f(x) for f(x) = 0. What does Descartes Rule of Signs say? Note: In this formula there is always a zero root. When N is odd, there is a relative minimum point and a relative maximum point. When N is even, there is only a relative minimum point. This could be predicted by calculus. This determines the number of roots.! 11. (a) 1000 1+ 0.02 $ " # 12 % & 36 (! 1+ 0.02 $ * " # 12 % & 3938.22 = R * * 0.02 * 12 )* 36 = $1061.78. 5000 1061.78 = $3938.22. + '1- - -. R = $106.24 per month saved. -,- Solving Annuity Formulas for Interest Rate May, 2012 9

N 1 X 13. (a) A= M Formula 7 is undefined at X = 1. X 1 (b) f(x) = 1 + 1660.72!36 ( 1! X ) = 1+ 0.0332144 1! X!36 50000 (d) f(x) approaches 1.0332144 as X continues larger than 1.01. ( ). f(1.01) = 1.01. (e) Some values are: X 0.91 1 1.01 1.02 1.1 1.2 f(x) 0.0427559 1 1.01 1.069258 1.0321283 1.0321399 slope 39.18 1.1957 0.827 0.575 0.035 0.0014 tan 1 (dy/dx) 88.53 50 39.6 29.9 2 0.08 (In solving for interest rate > 0, we are limiting the program to X > 1.) (f) For X > 1, the fixed point of f(x) is at X = 1.01, since f(1.01) = 1.01. (g) rise run = 38.3973. tan 1 (38.3973) = 88.5. (i) f(x) = 0 at X = 0.9081. Solving Annuity Formulas for Interest Rate May, 2012 10

Teachers Notes For a copy of the manual for the TI84, see http://www.ti.com/calc. If you detect in Exercise 9 that a student uses a reference, have them cite the source. Don t announce this in advance. Solving Annuity Formulas for Interest Rate May, 2012 11