blob: 4d41967c2357218acf41b3f5eaae11eb30cd8100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//To Calculate the Amount of Heat flowing per second through the cube.
//Example 28.1
clear;
clc;
x=0.1;//Edge Length of the Copper Cube in cm
A=x^2;//Area of cross section in cm^2
K=385;//Thermal Conductivity of Copper in W/m-deg Celsius
T1=100;//Temperature of the first face
T2=0;//Temperature at the second face
Rf=K*A*(T1-T2)/x;//Amount of Heat flowing per second (del(Q)/del(t))
printf("The amount of heat flowing per sec=%d W",Rf);
|