What is the balance after a total of 60 months

Assignment Help Mechanical Engineering
Reference no: EM131223610

Points will be taken off if your code is not adequately commented.

For an account that accrues compound interest, the formula for the balance after one interest period is

Balancenew = (Balancestarting + Deposits - Withdrawls) * (1+I)

where Balance is the initial or new amount of money in the account, Deposits are any money added to the account, Withdrawals are any money removed from the account, and I is the interest rate (given as a decimal - i.e., 2% interest is entered in the equation as 0.02).

Repeating this formula for each interest compounding period will reflect the (hopefully growing) change in balance over time.

Problem 1. Write a function that accepts the starting balance, deposits, withdrawals, and interest rate as inputs and then returns the resulting balance. Name the function compounded_interest.

Problem 2. Use your compounded_interest function to calculate how many years it will take to reach a balance of $100,000 from an initial balance of $10,000, an annual deposit of $2,000, and an interest rate of 2.5% (0.025).

Problem 3. Use your function to calculate the same scenario as Problem 2, but with an annual withdrawal of $500.

Problem 4. Using your function, determine the balance in an account with $100 initial balance, $50 per month deposit, $20 per month withdrawal, and 0.15% interest compounded monthly (0.0015), after a total of 20 years (12 months per year).

Problem 5. Assume a savings account of $1,000 starting balance, $250 per month deposit, an interest rate of 3%, and a one-time withdrawal after 24 months of $2,000. What is the balance after a total of 60 months?

Reference no: EM131223610

Questions Cloud

What revenue recognition issues are at hand for sunbeam : In April 1996 Sunbeam named Albert J. Dunlap as its CEO and chairman. Formerly with Scott Paper Co., Dunlap was known as a turnaround specialist and was even nicknamed “Chainsaw Al” because of the cost-cutting measures he typically employed. What rev..
What is your opportunity set : Assume you can lend and borrow at 10% and have $5,000 in income in each of two periods. - What is your opportunity set?
What are the safety issues involved with the experiment : What are safety issues involved with this experiment? What are the variables that will be tested in  experiment? What is the control? What tests will I do or what procedure will I follow to help me answer my questions?
What was the firms economic value added : What was the firm's Economic Value Added (EVA), that is, how much value did management add to stockholders' wealth during 2012?
What is the balance after a total of 60 months : Write a function that accepts the starting balance, deposits, withdrawals, and interest rate as inputs and then returns the resulting balance. Name the function compounded_interest.
How many adults and how many children went to the zoo : The Jurassic Zoo charges $6 for each adult admission and $3 for each child. The total bill for the 154 people from a school trip was $558. How many adults and how many children went to the zoo?
Calculate current yield of the bond : What was the last price of the bond in $. - Calculate annual coupon interest payments. - Calculate current yield of the bond.
Enrollment at byu-idaho : Assume the enrollment at BYU-Idaho is increasing at a rate of 4% per year. Is the growth linear or exponential?
People from a school trip : The Jurassic Zoo charges $14 for each adult admission and $7 for each child. The total bill for the 266 people from a school trip was $2415. How many adults and how many children went to the zoo?

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  The flow rate 54 cubic meters per minute the pump

a pump is used to move water from a lower reservoir to an upper reservoir. the water surface elevation in the upper

  Five percent of this flow is diverted for the feedwater

an isentropic steam turbine processes 5kgs of steam at 4 mpa which is exhausted at 50 kpa and 100degc. five percent of

  Water flows through a long tube of circular cross section

Water flows through a long tube of circular cross section at a mass flow rate of 0.01 kg/s. The heat flux through the wall is maintained uniformly at 3000 w/m^2. The water enters the tube at 20 C. The inside diameter is 7.5cm. Find the required lengt..

  Convert the composition of the following alloy from atom

convert the composition of the following alloy from atom percent to weight percent a 44.8 at of silver b 46.3 at of

  Assume that the silicon can be treated as a semi-infinite

silica sio2 is formed on silicon as an electrically insulating layer for microelectronic devices. silica is formed when

  Calculate the pressure in the smaller tube

If the pressure before the contraction is 415 kPa, calculate the pressure in the smaller tube.

  Streams of cold and warm air are mixed to get air

In air-conditioning systems, streams of cold and warm air are mixed to get air with the right temperature. Consider a mixing chamber into which cold air enters at 8 degree C and 100 kPa at a rate of 0.55 m3/s and warm air enters at 30 degree C and 10..

  Determine the amount of energy transfer by heat

A rigid tank initially contains 3 kg of saturated water vapor at 140°C. Heat transfer occurs, and the pressure drops to 200 kPa. Assume that kinetic and potential energies are negligible. Determine the amount of energy transfer by heat, in kJ.

  What is the molar concentration of the complex in a solution

What is the molar concentration of the complex in a solution that has the absorbance described in (a) when measured at 470 nm in a 2.50-cm cell?

  If both streams enter the mixing chamber at the same mass

water at 50 degrees farheneit and 50 psia is heated in a chamber by mixing it with saturated water vapor at 50 psia. if

  A liquid r-134-a bottle has an internal volume of 0001 m3

a liquid r-134-a bottle has an internal volume of. 0.001 m3. initially it contains 0.4 kg of r-134a saturated mixture

  Estimate the required filter length for a bed efficiency

a fibrous filter bed is to be designed with a solid fraction equal to 0.1 fiber diameter equal to 10m and filter

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd