Question
C program. simple heat transfer via conduction can be determined by the formula H = kA(T2- T1) / X H = rate of heat transfer
C program.
simple heat transfer via conduction can be determined by the formula H = kA(T2- T1) / X
H = rate of heat transfer in watts k = coefficient of thermal conductivity for the substance A = cross sectional area in m2 T2 and T1 = temperature in kelvin on the two sides of the conductor X = thickness of the conductor in m
For the project you will write a program that consists of a series of functions that allow the user to find an unknown value given the other values. In other words, A could be determined given H,k,T2,T1 and X. Likewise T2 can be found given H,k,A,T1and X.
The thermal conductivities will be stored in an array, and the user prompted for which one they wish. The following substances will be presented as options:
Substance k
Aluminum 205 Asphalt 0.75 Brass 109 Cast iron 58 Concrete 1.7 Fiberglass 0.04 Glass 0.8 Lead 35 Neoprene 0.05 Plywood 0.13 Silver 429 Zinc 116
There will be two milestones to this project. This lets me check that you are on the right track before the final hand in. Be sure that your program is properly documented and commented, poor or non-existent comments will affect your grade. I am not requiring error checking for incorrectly entered values but be sure the program works for all legitimate values. The requirements will be as follows:
Milestone 1: You will hand in:
-
- Algorithm
-
- Complete list of inputs and outputs
-
- Printout of the program skeleton (preprocessor
directives, variable declarations, main and return, and function prototypes
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started