Question

In: Mechanical Engineering

“Now what do I do?” moaned your colleague Matt. “This is a first for me,” he confided.

Use a loop in MATLAB to determine how long it will take to accumulate $1 000 000 in a bank account if you deposit $10 000 initially and $10 000 at the end of each year; the account pays 6 percent annual interest.

Solutions

Expert Solution

It is required to determine how long will it take to accumulate $1,000,000 with 6% annual interest. Initially $10,000 is deposited and $10,000 is deposited at the end of each year.

 

A while loop is to be created in this case as the number of iterations are not fixed. We need to find out number of iterations required.

 

The MATLAB code is given below. We have to initialize a variable that will represent the year. Then on each successive iteration the amount is calculated and checked with the limit given in question.

 

Input:

%initializing the year

k = 0;

Amount = 10000;

while Amount < 1000000

k = k + 1;

%calculating amount at each successive year

Amount = 1.06*Amount + 10000;

end

Amount

k

 

Output:

Amount = 1.0418e+06

k = 33

 

We see that it will take 33 years to accumulate $1,041,800.


We see that it will take 33 years to accumulate $1,041,800.

Related Solutions

A cycling colleague of mine recently complained to me about the “reckless” skateboarders on campus. I...
A cycling colleague of mine recently complained to me about the “reckless” skateboarders on campus. I replied by noting that I’ve observed cyclists on campus to be far less respectful of pedestrians’ safety & space than are skateboarders. My colleague was quite upset with my response, so we set about testing whether there is any difference between skateboarders’ and cyclists’ regard for pedestrians on campus. My colleague and I observed the behavior of both skaters (n=43) and cyclists (n=50) in...
REGARDING RISK ASSESSMENT When speaking to a bank colleague, he told me that employees only have...
REGARDING RISK ASSESSMENT When speaking to a bank colleague, he told me that employees only have access to company information during the time they are in the office. In other words, they are not allowed to log into the network when at home. Why do you think the bank has this type of procedure in place? What if the bank’s VP needs to review important accounts while working from home? Should this person have different privileges to the customer accounts?...
My friend lost a bet with me and now owes me money. However, he is broke...
My friend lost a bet with me and now owes me money. However, he is broke and will pay me in increments. $500 in two years, $400 in 4 years, and finally, $1000 in ten years, with an interest rate 3.2%. How much money did he bet today (present value)? If you could, please show the formula and how you got the answer. The answer we are given is $1,551.92 and I'm confused on how to get there. Thanks!
Specific: What do I want to achieve? What is required of me, and what are my...
Specific: What do I want to achieve? What is required of me, and what are my constraints? Measurable: How much money is needed? How will I knowI know if I am succeeding? Attainable: How can I do this? Is this consistent with my financial goals? Realistic: Am I willing and able to do this? Timely:  What is my target date? What short-term goals must be achieved along the way to achieve my longer term goals?
Matt took clothes to the cleaners three times last month.​ First, he brought 4 shirts and...
Matt took clothes to the cleaners three times last month.​ First, he brought 4 shirts and 2 pairs of slacks and paid $17.94 Then he brought 6 shirts, 2 pairs of​ slacks, and 1 sports coat and paid $28.41. ​Finally, he brought 5 shirts and 1 sports coat and paid $14.94 How much was he charged for each​ shirt, each pair of​ slacks, and each sports​ coat? Matt was charged $____for each​ shirt, $___for each pair of​ slacks, and $___for...
3) Now you will plan for your retirement. To do this we need to first determine...
3) Now you will plan for your retirement. To do this we need to first determine a couple of values. a. How much will you invest each year? Even $25 a month is a start ($300 a year), you’ll be surprised at how much it will earn. You can choose a number you think you can afford on your life circumstances or you can dream big. State what you will use for P, r, and n to earn credit. (3...
A work colleague was bragging that the actively managed mutual fund he selected among your employer’s...
A work colleague was bragging that the actively managed mutual fund he selected among your employer’s 401(k) electives outperformed the S&P 500 over the past 3 years. The colleague (who did not take FINC 561) claims that it’s a great fund, that the manager is a genius and is urging you to invest in that fund as well. However, you believe that markets are efficient. Do you take your colleague’s advice? Explain your rationale by applying concepts of market efficiency...
A work colleague was bragging that the actively managed mutual fund he selected among your employer’s...
A work colleague was bragging that the actively managed mutual fund he selected among your employer’s 401(k) electives outperformed the S&P 500 over the past 3 years. The colleague (who did not take FINC 561) claims that it’s a great fund, that the manager is a genius and is urging you to invest in that fund as well. However, you believe that markets are efficient. Do you take your colleague’s advice? Explain your rationale by applying concepts of market efficiency...
Your friend and colleague has been working for about a year since graduating from university. He...
Your friend and colleague has been working for about a year since graduating from university. He has come to you for advice on his saving and spending habits. You have accumulated the following information on his savings and spending that has occurred over the past year: Saving/Spending Amount $ Salary received over the last year, net of income tax 45,000 Rent and utilities paid 16,600 Car expenses paid 4,800 Credit card debt at the start of the year 1,000 Food,...
Hello! I do not want you to write an essay for me by any means. I...
Hello! I do not want you to write an essay for me by any means. I am just completely lost, without inspiration or direction. I am hoping for a few ideas to build from. It's for a composition class, so facts and figures are not important. You'll find the prompt below. Thank you! A person’s view of America is substantially influenced by how one got here—by choice or by force—and how well one has integrated into the dominant culture. Immigrants...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT