### Example 2

If we invest $750 at 6% annual interest, compounded quarterly, the formula for the amount *A* that the investment is worth after *t* years is [latex]A=750\cdot{{\left(1+\frac{0.06}{4}\right)}^{4t}}[/latex]. Find the amount the investment is worth after five years. Then evaluate this for several values of *t* between 0 and 30 years, and sketch a graph of this formula.

Show Answer
First, recall how to get an exponent in your calculator. On most calculators, it’s a ^ key or a [latex]{{y}^{x}}[/latex] key. Find that key and practice using it to evaluate [latex]{{2}^{3}}[/latex]. When you can do that correctly, then evaluate the following expression, writing these intermediate values as indicated below.[latex]A=750\cdot{{\left(1+\frac{0.06}{4}\right)}^{4t}}=750\cdot{{\left(1+\frac{0.06}{4}\right)}^{4\cdot5}}=750\cdot{{\left(1.015\right)}^{20}}=750\cdot1.346855007=1010.141255[/latex]

So the investment is worth $1010.14 after 5 years.

It is more convenient to be able to put all of these values into the calculator at the same time rather than writing intermediate steps. We will learn to do that in this course, but that’s not the point of this lesson. The point here is to practice making graphs. This will be useful to you in checking your work when you evaluate formulas. If one of the values you compute doesn’t seem to fit the pattern of the others, that warns you to check your computation again.

Formula input and output |

**t** |
**A** |

5 |
1010.141 |

0 |
750.000 |

10 |
1360.514 |

20 |
2467.997 |

30 |
4476.992 |

We can use the graph to estimate at what time the amount of the investment will be about $4000. Look at the graph to find 4000 on the vertical axis and then notice that the corresponding value on the horizontal axis is about 27.5. So at approximately 27.5 years, the amount of the investment will be $4000.

Check that by plugging it into the formula. [latex]A=750\cdot{{\left(1+\frac{0.06}{4}\right)}^{4\cdot27.5}}=\,\,\,\text{etc.}\,\,=3857.68[/latex]

This is as close as we could reasonably expect from using a graph to approximate the input value.

### Example 3

Consider our approximation from Example 2. We wanted to find the number of years to leave the money in so that the amount of the investment would be $4000. The graph suggested that [latex]t=27.5[/latex] years. But then we found that after 27.5 years, the amount was only $3857.68. Clearly we should leave the money in somewhat longer. How much longer?

Show Answer
If we know how to do some complicated algebra (using logarithms) we can quickly obtain an answer to “how long should we leave the money to earn $4000?” We will not do that particular type of algebra in this course. Instead we will use numerical work to get refine our estimate from the graph. Here, when we look at the graph and the numbers, it is clear that 30 years is too long and 27.5 years is too short. So we try some value in between. Let’s try 28 years. [latex]A=750\cdot{{\left(1+\frac{0.06}{4}\right)}^{4\cdot28}}=\,\,\text{etc.}\,\,=\,\,3974.28[/latex]. This is much closer to the $4000 which was our goal. If we wanted to try to get it even more accurately, we would use a value larger than 28 years, but only very slightly larger. Since the amount is compounded quarterly, the next time the amount will increase is at 28.25 years, so let’s try that. [latex]A=750\cdot{{\left(1+\frac{0.06}{4}\right)}^{4\cdot28.25}}=4033.89[/latex]. That is further away from $4000 than the value for 28 years, so the best answer for this question is that the amount of the investment will be at about $4000 at 28 years.

### Example 4

Following Example 2, we’d like to have a formula that allows us to vary the interest rate and number of times per year it is compounded as well as varying the number of years of the investment. So let *r* be the interest rate, converted to a decimal and *n* be the number of times per year it is compounded, and, as before *t* is the number of years and *A* is the amount of the investment. Then the formula is [latex]A=750\cdot{{\left(1+\frac{r}{n}\right)}^{n\cdot{t}}}[/latex]. This is an example of a formula with several input values. Use this formula to find the amount of the investment after 5 years if the interest rate is 8% and it is compounded monthly.

Show Answer
[latex]A=750\cdot{{\left(1+\frac{r}{n}\right)}^{n\cdot{t}}}=750\cdot{{\left(1+\frac{0.08}{12}\right)}^{12\cdot5}}=750\cdot{{\left(1.006666667\right)}^{60}}=750\cdot1.4898457=1117.384281[/latex]

So after 5 years, this investment is worth $1117.38.

We can’t graph this easily, because we would need more than a two-dimensional graph. We need one dimension for the output value and one dimension for every input value and investigating four-dimensional graphs is beyond the scope of this course! However, in most practical applications, technicians and scientists isolate one or two input variables that they are most interested in and then analyze the problem with a two-dimensional graph (for one input variable) or a three-dimensional graph (for two input variables.) We will look at some three-dimensional graphs later in the course.

### Example 5

Following Example 3, suppose we want to allow the initial amount of the investment to change. So we need a variable for that. Since it is an amount, we’d like to call it *A*, but we already have an *A* in this formula that means something else. We could use a different letter, but in applications problems we often choose to call both values *A* and distinguish between them by a subscript. In this problem, we would usually call the original amount of money [latex]{{A}_{0}}[/latex] and the final amount of money after *t* years [latex]{{A}_{t}}[/latex]. So the formula is [latex]{{A}_{t}}={{A}_{0}}\cdot{{\left(1+\frac{r}{n}\right)}^{n\cdot{t}}}[/latex]. Use this formula to find the amount of an investment after 6 years if the initial amount is $900, the annual rate is 0.07 and it is compounded twice a year.

Show Answer
[latex]\begin{align}&{{A}_{t}}={{A}_{0}}\cdot{{\left(1+\frac{r}{n}\right)}^{n\cdot{t}}}\\&{{A}_{6}}=900\cdot{{\left(1+\frac{0.07}{2}\right)}^{2\cdot6}}=900\cdot{{(1.035)}^{12}}=900\cdot1.511068657=1359.961792\\\end{align}[/latex]

So, after 6 years, this investment is worth $1359.96.