summaryrefslogtreecommitdiff
path: root/1752/CH9/EX9.3/exa_9_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1752/CH9/EX9.3/exa_9_3.sce
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 '1752/CH9/EX9.3/exa_9_3.sce')
-rwxr-xr-x1752/CH9/EX9.3/exa_9_3.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1752/CH9/EX9.3/exa_9_3.sce b/1752/CH9/EX9.3/exa_9_3.sce
new file mode 100755
index 000000000..f54ecdcd0
--- /dev/null
+++ b/1752/CH9/EX9.3/exa_9_3.sce
@@ -0,0 +1,25 @@
+//Exa 9.3
+clc;
+clear;
+close;
+format('v',9)
+//given data
+h_fg=2392*10^3;// in J/kg
+rho=993;// in kg/m^3
+k=0.63;// in W/mK
+miu=728*10^-6;// in kJ/m-s
+N=10;
+T_sat=45.7;// in degree C
+T_s=25;// in degree C
+d=4*10^-3;// in m
+g=9.81;
+h_bar = 0.725*[ rho^2*g*h_fg*k^3/(N*miu*d*(T_sat-T_s))]^(1/4);// in W/m^2k
+m=300/(60*60);
+// Formula m=q/h_fg
+q=m*h_fg;
+disp(q*10^-3,"Heat transfer rate in kW")
+// Formula q=h_bar*%pi*d*L*N^2*(T_sat-T_s)
+L=q/(h_bar*%pi*d*N^2*(T_sat-T_s));
+disp(L,"Length of tube in m");
+
+// Note: Answer in the book is wrong \ No newline at end of file