diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2519/CH19/EX19.12/Ex19_12.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2519/CH19/EX19.12/Ex19_12.sce')
-rwxr-xr-x | 2519/CH19/EX19.12/Ex19_12.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2519/CH19/EX19.12/Ex19_12.sce b/2519/CH19/EX19.12/Ex19_12.sce new file mode 100755 index 000000000..077148a93 --- /dev/null +++ b/2519/CH19/EX19.12/Ex19_12.sce @@ -0,0 +1,23 @@ +clc
+clear
+//Initialization of variables
+l=6 //ft
+d1=0.55 //in
+d2=0.75 //in
+h1=280 //Btu/hr ft^2 F
+h2=2000 //Btu/fr ft^2 F
+k=220 //Btu/hr ft F
+t2=212 //F
+t1=60 //F
+f=500 //Btu/hr ft^2 F
+//calculations
+A2=%pi*d1*l/12
+A3=%pi*d2*l/12
+Rt=1/(h1*A2) + 1/(h2*A3) +log(d2/d1) /(2*%pi*k*l)
+Q=(t2-t1)/Rt
+Rt2=Rt+ 1/(f*A2)
+Q2=(t2-t1)/Rt2
+//results
+printf("Heat transfer = %d Btu/hr",Q)
+printf("\n Heat transfer in case 2= %d Btu/hr",Q2)
+disp("The answer in the textbook is a bit different due to rounding off error in textbook.")
|