Question
Assessed exercise 1.1 (compound interest) Consider the calculation of compound interest. An amount of money A is investing over a period of n years with
Assessed exercise 1.1 (compound interest) Consider the calculation of compound interest. An amount of money A is investing over a period of n years with an annual (15 interest rate of r paid at the end of each year. The accumulation of the investment at the end of this period is A(1 + r)". Suppose you want to calculate the final balances of investments of initial amounts 100, 200, 400, and 11999 at the beginning of year 9, where the interest rate per annum is 10%.
1. Write the investment amounts A as a vector. 2. Let B be the balance of th investments after n years, write a command showing the calculation of B as a function of the investment amount A, the interest rate r, and the years n. 3. Now using MATLAB/OCTAVE/PYTHON, compute the balances for the given investments and display your results in a table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started