Suppose that $1000 is deposited into an account that pays 5% intrest per year. At the end of each year, th amount in the account is 1.05 times the amount at the beginning of the year.
Write a MATLAB program with a for loop to calculate the amount in the account after 10, 20, and 30 years.
You need to make saparate .m files for each.. Please provide screenshot of output as well.