summaryrefslogtreecommitdiff
path: root/965/CH2/EX2.76/76.sci
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /965/CH2/EX2.76/76.sci
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '965/CH2/EX2.76/76.sci')
-rw-r--r--965/CH2/EX2.76/76.sci32
1 files changed, 32 insertions, 0 deletions
diff --git a/965/CH2/EX2.76/76.sci b/965/CH2/EX2.76/76.sci
new file mode 100644
index 000000000..82838e44d
--- /dev/null
+++ b/965/CH2/EX2.76/76.sci
@@ -0,0 +1,32 @@
+clc;
+clear all;
+disp("temperature at interfaces")
+L=0.16;//m thickness of slab
+qg=1.2*10^(6);// W/m^3
+k=180;// W/(m*C)
+t1=120;// degree C
+t2=t1;
+tw=t1;
+A=1;//m^2
+
+x=L/2;
+tmp=(qg/(2*k))*(L-x)*x+tw;
+Qmp=qg*A*x;
+gradTmp=-Qmp/(A*k);
+disp("degree C",tmp,"temperature at mid plane tmp = ")
+disp("W/m^2",Qmp,"heat flow rate mid plane Qmp = ")
+disp("C/m",gradTmp,"temperature gradient at the mid plane = ")
+
+x=L/4;
+t14=qg*(L-x)*x/(2*k)+tw;
+Q14=qg*A*x;
+gradT14=-Q14/(A*k);
+disp("degree C",t14,"temperature at x=L/4 = ")
+disp("W/m^2",Q14,"heat flow rate at x=L/4 Qmp = ")
+disp("C/m",gradT14,"temperature gradient at x=L/4 = ")
+
+x=3*L/4;
+t34=qg*(L-x)*x/(2*k)+tw;
+disp("degree C",t34,"temperature at x=3L/4 = ")
+
+