subject
Engineering, 27.11.2019 05:31 sdawg420

The value of a saving account, v, after t years is given by:

v = p(1 + r/100/n)^nt

where p is the initial investment, r is the yearly interest rate in % (e. g., 7.5% entered as 7.5), and n is the number of times per year that the interest is compounded.

a. write a matlab program in a script file that calculates v. when the program is executed, it asks the user to enter the amount of the initial investment, the number of years, the interest rate, and the number of times per year that the interest is compounded. the output is displayed in the following format: "the value of a $xx investment at a yearly interest rate of x. x% compounded x times per year, after xx years is $.xx", where xxx stands for the corresponding quantities.
b. use the program to determine the value of a $20,000 investment after 18 years if the yearly interest rate is 3.5% compounded 6 times a year.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
question
Engineering, 06.07.2019 03:10
Different between right hand turning tool and left hand turning tool ?
Answers: 1
question
Engineering, 06.07.2019 03:30
Abrayton cycle operates with a regenerator on the air-standard with properties evaluated at 400 k. the tem- perature of the air entering the compressor is 350k while the temperature of the air exiting the compressor is 600 k. the temperature of the air entering the turbine is 1600 k. the overall cycle produced 600 kj/kg of net work out. assuming a regenerator effectiveness of 0.8, what is the temperature of the air before heat addition (combustion)? draw this process on a t - s diagram
Answers: 3
question
Engineering, 06.07.2019 04:10
Aheat pump with refrigerant-134a as the working fluid is used to keep a space at 25°c by absorbing heat from geothermal water that enters the evaporator at 500c at a rate of 0.065 kg/s and leaves at 40°c. the refrigerant enters the evaporator at 20°c with a quality of 23 percent and leaves at the inlet pressure as saturated vapor. the refrigerant loses 300 w of heat to the surroundings as it flows through the compressor and the refrigerant leaves the compressor at 1.4 mpa at the same entropy as the inlet. determine: (a) the degrees of subcooling of the refrigerant in the condenser, b)-the mass flow rate of the refrigerant . (c) the heating load and the cop of the pump, and d)-the theoretical minimum power input to the compressor for the same heating load.
Answers: 3
You know the right answer?
The value of a saving account, v, after t years is given by:

v = p(1 + r/100/n)^nt
Questions
question
Mathematics, 30.07.2020 23:01
question
Mathematics, 30.07.2020 23:01
Questions on the website: 13722360