Question

In: Advanced Math

ICE13B - “How long will the money last?” You begin on 1 January 2015 by making...

ICE13B - “How long will the money last?” You begin on 1 January 2015 by making an initial deposit of $5,000 to open a savings account at Bank of Mason. This account pays 0.135% interest per month. Every even numbered month, you withdraw $500 to pay your tuition installment balance. At the end of December each year you receive a $2,000 end-of-year bonus from your employer which you deposit into your account. Run your simulation until your account balance goes negative. Question 1: During what month does you account balance go negative after making the withdrawal? Question 2: Prepare a plot showing your account for all months A Matlab code is needed

Solutions

Expert Solution

%there would be no such months as the increment s more than what is being taken

%the following is the code which defines the provided logic but the balance never goes to negative and the loops runs infinitely

clear
clc
balance = 5000;
i=0;
while true
    balance = balance + (0.135/100)*balance;%every month, add interest
    i = i+1;
    if rem(i,7)==0
        balance = balance - 500;%at the end of every 7 months, remove 500
    end
    if balance<0
        break
    end
    if rem(i,12)==0%at the end of every 12 months, add 2000
        balance = balance + 2000;
    end
end
fprintf('Month during which balance go negative: %d\n',i)

Chart.


Related Solutions

1.Stargazer Company was incorporated on January 1, 2015 but was unable to begin manufacturing activities until...
1.Stargazer Company was incorporated on January 1, 2015 but was unable to begin manufacturing activities until July 1, 2015, because new factory facilities were not completed until that date. The Land and Building account reported the following items during 2015: January 31                                                        Land and buildings                          $160,000 February 28                                                     Cost of removal of building                 9,800 May 1                                                              Partial payment of new construction     60,000 May 1                                                              Legal fees paid                                     3,770 June 1                                                              Second payment on new construction 40,000 June...
#1.Stargazer Company was incorporated on January 1, 2015 but was unable to begin manufacturing activities until...
#1.Stargazer Company was incorporated on January 1, 2015 but was unable to begin manufacturing activities until July 1, 2015, because new factory facilities were not completed until that date. The Land and Building account reported the following items during 2015: January 31                                                       Land and buildings                          $160,000 February 28                                                     Cost of removal of building                 9,800 May 1                                                              Partial payment of new construction     60,000 May 1                                                              Legal fees paid                                     3,770 June 1                                                              Second payment on new construction 40,000 June...
Suppose you borrow money from your parents for college tuition on January​ 1, 2015. Your parents...
Suppose you borrow money from your parents for college tuition on January​ 1, 2015. Your parents require four annual payments of​ $40,000 each, with the first payment due on January​ 1, 2019. They are charging you​ 8% annual interest. What is the cost of the college​ tuition?
Suppose you borrow money from your parents for college tuition on January​ 1, 2015. Your parents...
Suppose you borrow money from your parents for college tuition on January​ 1, 2015. Your parents require four annual payments of​ $30,000 each, with the first payment due on January​ 1, 2019. They are charging you​ 4% annual interest. What is the cost of the college​ tuition? A. $113,253 B. $96,809 C. $120,000 D. $89,707
Read chapter 3 last case study. how would you begin to evaluate the need for the...
Read chapter 3 last case study. how would you begin to evaluate the need for the policy and the possible support or lack of support for the policy from your peers, nursing management, and others who might be affected by the policy? Do the 10 questions outline by Malone assist in this process.? draft a proposed policy to address the issues you have identified
You will retire in 40 years. At that time you will begin making annual withdrawals and...
You will retire in 40 years. At that time you will begin making annual withdrawals and the first withdrawal will need to have the purchasing power that $127,849 has today. You will withdraw the same amount of money each year of retirement (and you recognize that its purchasing power will fall as inflation continues). You plan to live for 24 years during retirement, necessitating 24 withdrawals. Inflation equals 6% per year. Obviously, you will need to save (and invest) money...
It is now January 1, 2015, and you are considering the purchase of an outstanding bond...
It is now January 1, 2015, and you are considering the purchase of an outstanding bond that was issued on January 1, 2013. It has a 9.5% annual coupon and has a 30 year maturity. (It matures on December 31, 2042.) There is a 5 years of call protection (until December 31, 2017), after which time it can be called at 109 - That is, at 109% of par, or $1,090. Interest rates have declined since it was issued, and...
In June of 2015, you begin depositing $300 per month into an annuity.(a) If the interest...
In June of 2015, you begin depositing $300 per month into an annuity.(a) If the interest rate is 1.4% compounded monthly, determine the value of the account in June 2016.(b) In June 2016, the interest rate increases to 2.2% compounded monthly, determine the value of theaccount in June 2017.
1. On January 1, 2015, you establish a business that provides technology consulting services. You plan...
1. On January 1, 2015, you establish a business that provides technology consulting services. You plan to target small businesses by providing convenient, on-site and remote services. At the current time, you do not plan to hire any employees. Instead, you plan to perform the services yourself, at least initially until cash flow from the business can fund employee payroll. To save money you decide to work out of your house. You plan to invest $60,000 from your personal savings...
Long-term investments and the time value of money On January 1, 2019, JP Chemical Company purchases...
Long-term investments and the time value of money On January 1, 2019, JP Chemical Company purchases $10,000 of 6% bonds in American Airline at a price of 95. JP Chemical Company intends to hold the bonds until the maturity date on January 1, 2029. The interest dates are January 1 and July 1. JP Chemical Company amortizes any discount or premium using the straight-line method. The fiscal year end of JP Chemical Company is December 31.   Required:   Prepare...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT