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
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 06.07.2019 02:30
A75mm diameter shaft is supported in a journal bearing 75mm long with a diametral clearance of 0. 1mm. it supports a radial load of 1000 n and is lubricated with sae 50 oil at 70°c. find the friction torque and the power loss when the crankshaft rotates at 2900 rev/min.
Answers: 1
question
Engineering, 06.07.2019 03:10
Tom is having a problem with his washing machine. he notices that the machine vibrates violently at a frequency of 1500 rpm due to an unknown rotating unbalance. the machine is mounted on 4 springs each having a stiffness of 10 kn/m. tom wishes to add an undamped vibration absorber attached by a spring under the machine the machine working frequency ranges between 800 rpm to 2000 rpm and its total mass while loaded is assumed to be 80 kg. a) what should be the mass of the absorber added to the machine so that the natural frequency falls outside the working range? b) after a first trial of an absorber using a mass of 35 kg, the amplitude of the oscillation was found to be 10 cm. what is the value of the rotating unbalance? c) using me-3.5 kg.m, find the optimal absorber (by minimizing its mass). what would be the amplitude of the oscillation of the absorber?
Answers: 1
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, 27.04.2021 16:30
question
Mathematics, 27.04.2021 16:30
question
Mathematics, 27.04.2021 16:30
Questions on the website: 13722361