Calculates how much money you''ll end up

Assignment Help Mechanical Engineering
Reference no: EM131190198

Write a program that calculates how much money you'll end up with if you invest an amount of money at a fixed interest rate, compounded yearly. Have the user furnish the initial amount, the number of years, and the yearly interest rate in percent. Some interaction with the program might look like this:

Enter initial amount: 3000

Enter number of years: 10

Enter interest rate (percent per year): 5.5

At the end of 10 years, you will have 5124.43 dollars.

At the end of the first year you have 3000 + (3000 * 0.055), which is 3165. At the end of the second year you have 3165 + (3165 * 0.055), which is 3339.08. Do this as many times as there are years. A for loop makes the calculation easy.

Reference no: EM131190198

Questions Cloud

The expected return on the portfolio : You own a portfolio that has $2,500 invested in Stock A and $3,500 invested in Stock B. If the expected returns on these stocks are 10 percent and 16 percent, respectively, what is the expected return on the portfolio?
Million of total assets : Toy Corp. generated a profit of $250 million on $1,264 million of sales last year. A review of the company's balance sheet showed $1,185 million of total assets, $475 million of spontaneous liabilities, and $925 million of net fixed assets.
Explain the potential issues this could create : Explain in your own words the importance of keeping an Incident Response Plan (IRP) up-to-date with changes in a business. Hypothesize what you believe to be the greatest reason for a corporation to not have an updated IRP and explain the potentia..
The company would pay for health insurance : Jim worked for AAA Job Shop, Inc. for over 30 years. Two months before Jim retired, the head of human resources told Jim that the company would pay for health insurance for Jim and his wife for the remainder of his life, and for his wife’s life if sh..
Calculates how much money you''ll end up : Write a program that calculates how much money you'll end up with if you invest an amount of money at a fixed interest rate, compounded yearly.
Problem regarding the capm equation : Use the CAPM equation in order to find out what is the present 'cost of equity' of your company? Explain what is the meaning of the 'cost of equity'.
What is your best estimate of the company cost of equity : Suppose Pat, Ltd. just issued a dividend of $2.50 per share on its common stock. The company’s dividends have been growing at a rate of 5%. If the stock currently sells for $65, what is your best estimate of the company’s cost of equity?
What is the total present value of these cash? flows : Jennifer presents a business plan to her? bank's loan officer that predicts net cash flows for the first three years of? $10,000, $15,000, and? $8,000 respectively. If these cash flows occur at the end of each year and the discount rate is? 4%, what ..
Prepare a document that guides client in program preparation : Prepare a document that guides your client in program preparation and includes an example console program. The console program must verify the age of a customer attempting to make an online purchase. The program must prompt the customer for his or..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  A short cylindrical block of 6061-t6 aluminum having an

a short cylindrical block of 6061-t6 aluminum having an original diameter of 25 mm and a length of 125mm is placed in a

  Determine the value of h when the jack is removed

The load L is 12 kN, and the central frame F has a mass of 40 kg. Each wheel and attached link has a mass of 35 kg with a center of mass 680 mm from the vertical centerline.

  The d ab of naphthalene in air at 318 k is 692 10 -6 m

a sphere of naphthalene having a radius of 2mm is suspended in a large volume of shell air at 318 k and 1 atm. the

  Determine the mass flow rate of steam

Steam enters a diffuser at and with a velocity of and exits as saturated vapor at 240 F and 100 ft/s. The exit area of the diffuser is 1 ft2. Determine the mass flow rate of steam and the rate of entropy generation.

  Develop an expression for the potential energy

Develop an expression for the potential energy due to the elastic foundation of linear stiffness and develop expressions for the potential energy contributed by the torsional springs.

  Knowing that the allowable maximum shearing stress in shaft

using the values psub g15hp and f500rpm... a solid shaft ae transmits 100hp from motor m to machines connected to gears

  A rigid tank is divided into two equal parts by a partition

a rigid tank is divided into two equal parts by a partition. one part of the tank contains 2.5 kg of compressed liquid

  A solid circular cylinder of radius r rotates at angular

a solid circular cylinder of radius r rotates at angular veolicity omega in a viscous incompressible fluid that is at

  Output is difficult to control is thus a random variable

In a chemical process the amount of a certain type of impurity in the output is difficult to control is thus a random variable. Speculation is that the population mean amount of the impurity is 0.20 grams per gram of output. It is known that the stan..

  A beam with length l 40 in and a rectangular cross section

a beam with length l 40 in and a rectangular cross section with 2 in width and 3 in height is subjected to a uniformly

  The nuts are tightened untill the comppressive force in the

a steel rod 20mm diameter is passesthrough a brass tube 25mm internal diameter and 30mm external diameter. the tube is

  Define the temperature of the water drops

The temperature of the water drops to 260 F as a result of heat transfer to the surroundings. Determine the final pressure in the tank?

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