Question: USING MATLAB PROGRAM V = P (1 + r/100)^nt where P is the initial investment, r is the yearly interest rate in % (e.g. 7.5%

USING MATLAB PROGRAM  USING MATLAB PROGRAM V = P (1 + r/100)^nt where P

V = P (1 + r/100)^nt where P is the initial investment, r is the yearly interest rate in % (e.g. 7.5% entered as 7.5), and n is the number of times per year that the interest is compounded. Write a MATLAB program in a script file that calculates V. When the program is executed it asks the user to enter the amount of the initial investment, the number of years, the interest rate, and the number of times per year that the interest is compounded. The output is displayed in the following format: "The value of a $XX investment at a yearly interest rate of X.X%, compounded X times per year, after XX years is $XXXX. XX", where XXX stands for the corresponding quantities, Use the program you wrote in part a to determine the value of a $20,000 investment after 18 years if the yearly interest rate is 3.5% compounded 6 time a year

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!