Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Introduction to Engineering Methods (CH) File: N125PIG Programming Assignment #1 Heat Transfer - Conduction Background: The transfer of heat energy through a material, known as

image text in transcribed
image text in transcribed
image text in transcribed
Introduction to Engineering Methods (CH) File: N125PIG Programming Assignment #1 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 cold 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(T; -T;) Q w Where: Q is heat per unit time per unit area with units of watts/m (Sl 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-fF (US Customary units). Note: a useful conversion factor is I watt/ mK-8.5779 BTU/hr-ftF T, is the hotter temperature in K (Si units) or F (US Customary units) T, 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) 2 of 3 ients: WHEELTY program to calculate and display the heat transfer, Q 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 the user should be able to enter k in Stor US Customary units prompt the user for the width, w of the material the user should be able to enter w with units of mcm, ft, or in .prompt the user for the temperatures on cither side of the material o the user should be able to enter the temperatures in "F.", 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>T 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(Q

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Internals A Deep Dive Into How Distributed Data Systems Work

Authors: Alex Petrov

1st Edition

1492040347, 978-1492040347

More Books

Students also viewed these Databases questions