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

  Evaluate the fourier coefficients a0 a1 a2 b1 and b2 could

a single cycle of a ramp function of voltage versus time has the form vt 100t from -0.01 to 0.01 s. using direct

  Determine the mass of lithium and the mass of iodine that

the anode and cathode reactions for a lithium-iodide battery are shown in your textbook on page 330. note that an

  If a 3000 pound vehicle loses traction at 60 mph find the

18 of a tire test a tire manufacturer has painted a line on the level sufface of a large flat test area. vehicles are

  Determining the average speed of a man

(a) What is the average speed of a man? (b) What is the average velocity of a man?

  With the piston face resting against the stops the water

a piston-cylinder assembly is fitted with stops. the assembly contains 0.1 kg of water initially at 1 mpa and 500degc.

  Diffusion coeffiecient and calculate constant

Diffusion Coeffiecient, Calculate Constant, The diffusion coeffiecient for Cr^+3 in Cr2O3 is 6x10^-15 cm2/s at 727 degrees Celcius and is 1x10^-9 cm2/s at 1400 degrees Celcius.

  Interest of maximizing the cooling rate

Beverage in cans 150 mm long and 60 mm in diameter is initially at 27°C and is to be cooled by placement in a refrigerator compartment at 4°e. In the interest of maximizing the cooling rate,

  The mixture occupies a volume of 005 m3 determine the mases

a two-phase liquid vapor mixture of water has a temperature of 300 c and a quality of 75. the mixture occupies a volume

  Find a the change in specific volume of water between the

at a depth of 7 km in the ocean the pressure is 71.6 mpa. assume a specific weight of seawater at the surface of 10.05

  Heat transfer from the nozzle to the surroundings is 167 kw

steam enters a nozzle at 8 mpa 400oc with a velocity of 36.9 ms. at the exit of the nozzle the pressure and temperature

  Using the thermodata computed from the matlab functions

Using the thermodata computed from the matlab functions to compute the mixture-averaged mass specific Gibbs free energy of the final mixture, as a function of the progress variable (normalized as: 0 for no dissociation, and 1 for complete dissociatio..

  In a compton experiment an electron attains a kinetic

in a compton experiment an electron attains a kinetic energy of 0.1 mev when a 0.5mev x-ray strikes it. determine the

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