Write a program using a collection of functions to solve simple conduction problems using various forms of the formula H = k * A * (T2-T1)/X H = k * A * (T2-T1)/X Temperature on the other side is 274 K. H = 755.0 W T2 = 298 K k = 0.800 W/m-k T1 = 274 K A = 0.120 m^2 X=0.003 m where H is the rate of heat transfer in watts, k is the coefficient of thermal conductivity for the particular substance in watts per meter Kelvin, A is the cross-sectional area in square meters, T1 and T2 are the Kelvin temperatures on the two sides of the conductor, and X is the thickness of the conductor in meters. Define a function for each variable in the formula. For example, function calcH would compute the rate of heat transfer, calcK would figure the coefficient of thermal conductivity, calcA would find the cross-sectional area, and so on. OUTPUT EXAMPLE Respond to the prompts with the data known. For the unknown quantity, enter -999. Rate of heat transfer (watts) : 755.0 Coefficient of thermal conductivity (W/m-K: 0.8 Cross-sectional area of conductor (m^2) : 0.12 Temperature on one side (K) : 298 Temperature on other side (K) : -999 (unknown) Thickness of conductor (m): 0.003
ANSWER:--
GIVEN THAT:--
#include<iostream>
using namespace std;
//funtion Prototypes
void calH();
void calK();
void calA();
//main method
int main()
{
//integer variable
int ch;
do{
//menu display
cout<<"\n\tMENU\n";
cout<<"1.calH\n";
cout<<"2.calK\n";
cout<<"3.calA\n";
cin>>ch;
switch(ch)
{
case 1:calH();break;
case 2 :calK();break;
case 3:calA();break;
default:cout<<"Invalid Input\n";
}
}while(ch<1 ||ch>3);
system("pause");
return 0;
}
//calA funtiion definition
void calA()
{
float K,A,H;
int T1,T2;
float X;
cout<<"Rate of Heat Transfer(watts)\t";
cin>>H;
cout<<"Co-Effiecient of Thermal Conductivity(W/m-k)\t";
cin>>K;
cout<<"\nTemperature on one side (T1)\t";
cin>>T1;
cout<<"\nTemperature on one side (T2)\t";
cin>>T2;
cout<<"\nThick ness of conductor(m)\t";
cin>>X;
if(H==-999) K=0;
if(K==-999) A=0;
if(T1==-999) T1=0;
if(T2==-999) T2=0;
if(X==-999) X=0;
A=H/(K*(T2-T1)*X);
cout<<"\nCross-Sectional Area(m^2)\t"<<A;
}
//calK funtiion definition
void calK()
{
float K,A,H;
int T1,T2;
float X;
cout<<"Rate of Heat Transfer(watts)\t";
cin>>H;
cout<<"\nCross-Sectional Area(m^2)\t";
cin>>A;
cout<<"\nTemperature on one side (T1)\t";
cin>>T1;
cout<<"\nTemperature on one side (T2)\t";
cin>>T2;
cout<<"\nThick ness of conductor(m)\t";
cin>>X;
if(H==-999) K=0;
if(A==-999) A=0;
if(T1==-999) T1=0;
if(T2==-999) T2=0;
K=H/(A*(T2-T1)*X);
cout<<"Co-Effiecient of Thermal Conductivity(W/m-k)\t"<<K;
}
//calH funtiion definition
void calH()
{
float K,A,H;
int T1,T2;
float X;
cout<<"Co-Effiecient of Thermal Conductivity(W/m-k)\t";
cin>>K;
cout<<"\nCross-Sectional Area(m^2)\t";
cin>>A;
cout<<"\nTemperature on one side (T1)\t";
cin>>T1;
cout<<"\nTemperature on one side (T2)\t";
cin>>T2;
cout<<"\nThick ness of conductor(m)\t";
cin>>X;
if(K==-999) K=0;
if(A==-999) A=0;
if(T1==-999) T1=0;
if(T2==-999) T2=0;
H=K*A*(T2-T1)*X;
cout<<"Rate of Heat Transfer(watts)\t"<<H;
}
output:
Write a program using a collection of functions to solve simple conduction problems using various forms...
PLEASE ANSWER a,b,c Heat Conduction Heat conduction occurs through any material, represented here by a rectangular bar, whether window glass or walrus blubber. The temperature of the material is T2 on the left and T1 on the right, where T2 is greater than T1. The rate of heat transfer by conduction is directly proportional to the surface area A, the temperature difference T2 - T1, and the substance's conductivity k. The rate of heat transfer is inversely proportional to the...
Heat conduction occurs through any material, represented here by a rectangular bar, whether window glass or walrus blubber. The temperature of the material is T2 on the left and T1 on the right, where T2 is greater than T1. The rate of heat transfer by conduction is directly proportional to the surface area A, the temperature difference T2 - T1, and the substance's conductivity k. The rate of heat transfer is inversely proportional to the thickness d. Q kA (T2-T)...
Heat conduction occurs through any material, represented here by a rectangular bar, whether window glass or walrus blubber. The temperature of the material is T2 on the left and T1 on the right, where T2 is greater than T1. The rate of heat transfer by conduction is directly proportional to the surface area A, the temperature difference T2 - T1, and the substance's conductivity k. The rate of heat transfer is inversely proportional to the thickness d. Q kA (T2-T)...
Problem 1. (75') This is a 1-D steady state problem. Only object A generates heat per unit volume of dA 2 x 106W/m3. The left surface of A is insulated and the right surface of B is exposed to a fluid. Temperature of the fluid is To 300 K. The convective heat transfer coefficient is h 1000 W/m2/K Thermal conductivity of A is kA 30 W/m/K, and B is k 20 W/m/K Thickness of each object is: IA-30 mm, 1':...
PLEASE ANSWER ALL PARTS OF THE QUESTION: Case1, Case 2: a,b ••• Weekly Comprehensive Assign ® V Weekly Comprehensive Assign X + a pp varafy.com/lti/v1p1?custom assignment_revision_resource_id=5dcf22405b33ca000406f4ae&custom_attempt_penalties=0&cust... Q € > c S # D Heat Conduction Heat conduction occurs through any material, represented here by a rectangular bar, whether window glass or walrus blubber. The temperature of the material is T2 on the left and T1 on the right, where T2 is greater than T1. The rate of heat transfer by...
Consider a rectangular bar of thermal conductivity k W/m-K and total length 2L, as shown in the figure, is connected to a hot surface that is at a temperature T1. The connection between the bar and the surface is imperfect and results in a thermal contact resistance of R’’ m2-K/W. The width of the rod into the depth of the paper is W meters and the thickness of the rod is t meters. The first section of the rod of...
III. Convective coefficient (40 pt). An electric wire having diameter of 6.0 mm and covered with a plastic insulation (thickness 2.0 mm; thermal conductivity: 0.4 W/m K) is exposed to air at 300 K. The heat loss per meter of wire generated is 200 W/m. Determine: ) Convective heat-transfer coefficient between the insulation and the surrounding air, h (25 pt) 2) Temperature of the insulation surface T2. (15 pt) HINT: T2 is a value between 320K and 400K To T2...
find the rate of conduction in the room given: External Temperature (T2): 26˚C or 299.15K Average Temp Room (T1): 19.8˚C or 292.95K Wall thickness (d): .283m Thermal conductivity (k): 1.04 W/m˚C Area (m2): 3.75 m2
Two metal plates are being joined through the use of a weld rod. The electric current, L, through the weld rod, causes thermal energy generation along the length of the weld rod. At the same tin the weld rod due to the hotness of the weld zone and convected into the surrounding ambient across the eylindrical surface of the rod. Formulate a differential equation which governs the temperature profile in the weld rod. Assume steady state. You do not need...
Heat is uniformly generated at the rate of 2x 10W/m* in a wall of thermal conductivity 25 W/m-K and thickness 60 mm. The wall is exposed to convection on both sides, with different heat transfer coefficients and temperatures as shown. There are straight rectangular fins on the right-hand side of the wall, with dimensions as shown (L =20 mm) and thermal conductivity of 250 W/m-K. What is the maximum temperature that will occur in the wall? L tt-2 mm k=25...