summaryrefslogtreecommitdiff
path: root/914/CH2/EX2.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /914/CH2/EX2.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '914/CH2/EX2.5')
-rwxr-xr-x914/CH2/EX2.5/ex2_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/914/CH2/EX2.5/ex2_5.sce b/914/CH2/EX2.5/ex2_5.sce
new file mode 100755
index 000000000..dce551456
--- /dev/null
+++ b/914/CH2/EX2.5/ex2_5.sce
@@ -0,0 +1,17 @@
+clc;
+warning('off');
+printf("\n\n example2.5 - pg31");
+// given
+d=0.0013; //[m] - diameter of the tube
+delx=1; //[m] - length of the glass tube
+T2=110.6; //[degC] - temperature on one end of the rod
+T1=0; //[degC] - temperature on other side of the rod
+k=0.86; //[W/m*K] - thermal conductivity
+Hf=333.5; //[J/g] - heat of fusion of ice
+// (a)using the equation (q/A)=-k*(delt/delx)
+A=(%pi*d^2)/4;
+q=A*(-k*(T2-T1)/delx);
+printf("\n\n (a) the heat flow is \n q=%fJ/sec",q);
+// (b) dividing the total heat transfer in 30minutes by the amount of heat required to melt 1g of ice
+a=abs((q*30*60)/333.5);
+printf("\n\n (b)the amount or grams of ice melted in 30minutes is %fg",a);