subject
Engineering, 27.11.2019 22:31 alexandrecarmene

F= p * pow((1 + i),t) where f is the future value, p is the present value, i is the monthly interest rate and t is the number of months. your program will need to make sure of better variable names that those used above. the input for the program will be read in from a file. the program will write out to cout with a prompt. you will read in the file name from cin. you will then read in the present value, monthly interest rate, and the number of months from the input file. there may be multiple sets of these values. you need to process them all. the program should end when you reach the end of file on the input file. the output from the program will be written to two different places. any error messages will be written to cout. you will also be writing out to a file called output. xls. the first thing you will write out are four "headings" separated by tabs (using the \t escape sequence). here is an output statement (this example is using cout). your program will instead write to the output file.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:20
A3-mm-thick panel of aluminum alloy (k 177 w/m-k, c 875 j/kg-k and ? = 2770 kg/m) is finished on both sides with an epoxy coating that must be cured at or above t,-150°c for at least 5 min. the production line for the curing operation involves two steps: (1) heating in a large oven with air at ts,0-175°c and a convection coefficient of h, 40 w/m2. k, and (2) cooling in a large chamber with air at 25°c and a con- vection coefficient of he 10 w/m2.k. the heating portion of the process is conducted over a time interval te which exceeds the ime required to reach 150°c by 5 min (h = r + 300 s). the coating has an emissivity of ? = 0.8, and the temperatures of the oven and chamber walls are 175 and 25°c, respectively. if the panel is placed in the oven at an initial temperature of 25°c and removed from the chamber at a safe-to-touch tempera ture of 37°c, what is the total elapsed time for the two-step curing operation?
Answers: 3
question
Engineering, 04.07.2019 18:20
Refrigerant-134a enters the compressor of a refrigerator as superheated vapor at 0.14 mpa and -10°c at a rate of 0.05 ka/s and leaves at 0.8 mpa and 50°c. the refrigerant is cooied in the condenser to 0.72 mpa and 26'c. it is then throttled to 0.15 mpa. sketch the t-s diagram for the system and evaluate: 6) the rate of heat removai from the refrigerated space (kw), it) the power input to the compressor (kw), ii) the isentropic efficiency of the compressor (%), and iv) the cop of the refrigerator.
Answers: 2
question
Engineering, 04.07.2019 18:20
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
Answers: 3
You know the right answer?
F= p * pow((1 + i),t) where f is the future value, p is the present value, i is the monthly interest...
Questions
question
Mathematics, 25.07.2020 03:01
question
Mathematics, 25.07.2020 03:01
question
Computers and Technology, 25.07.2020 03:01
Questions on the website: 13722363