Question: C++ programming Heat Transfer - Conduction Background: The transfer of heat energy through a material, known as conduction, is always from a region of higher

C++ programming
C++ programming Heat Transfer - Conduction Background: The transfer of heat energy
through a material, known as conduction, is always from a region of
higher temperature to one of lower temperature. Energy is transferred atom to

Heat Transfer - Conduction Background: The transfer of heat energy through a material, known as conduction, is always from a region of higher temperature to one of lower temperature. Energy is transferred atom to atom within the material. Engineering students often study this topic in detail when taking a course in thermodynamics. Thot Tcold Assuming the temperature on each side of equally sized surfaces is uniform, the rate at which heat flows through a material is given by Fourier's law of heat conduction. The formula is as follows: k(T2-T1) w Where: Q is heat per unit time per unit area with units of watts/m? (SI units) or BTU/hr-ft? (US Customary units) k is the thermal conductivity of the material with units of watts/mk (Si units) or BTU/hr-ft F (US Customary units) Tz is the hotter temperature in K (Si units) or F (US Customary units) Ti is the cooler temperature in K (Si units) or F (US Customary units) w is the width of the material in m (SI units) or ft (US Customary units) Program Requirements: Write a C++ program to calculate and display the heat transfer, g, through a material. The program should do the following: prompt the user for the name of the material prompt the user for the thermal conductivity, k, of the material o the user should be able to enter k in SI or US Customary units prompt the user for the width, w of the material o the user should be able to enter w with units of m, cm, ft, or in prompt the user for the temperatures on either side of the material o the user should be able to enter the temperatures in F. C. K the program should convert units as necessary so that a consistent unit system (SI or US Customary) is used to calculate .check to be sure that inputs from the user are valid: ok>0 ow>0 o temperatures > OK OT;>Ti Units are valid If any bad inputs are entered, print out an appropriate descriptive error message and terminate the program using the command: return 1; For Example: if(Qc0) cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!