summaryrefslogtreecommitdiff
path: root/2789/CH9/EX9.9/Ex9_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2789/CH9/EX9.9/Ex9_9.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 '2789/CH9/EX9.9/Ex9_9.sce')
-rwxr-xr-x2789/CH9/EX9.9/Ex9_9.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2789/CH9/EX9.9/Ex9_9.sce b/2789/CH9/EX9.9/Ex9_9.sce
new file mode 100755
index 000000000..cff2ffda0
--- /dev/null
+++ b/2789/CH9/EX9.9/Ex9_9.sce
@@ -0,0 +1,17 @@
+clear;
+clc;
+
+//page no. 302
+
+p = 14.7;//psia
+T = 60;// degreeF
+l = 2000;//ft
+b = 18;//in
+h = 12;// in
+v = 10;// fps
+R_h = (b*h)/(2*12*(b+h));
+Re = v*4*R_h*0.0763/(32.2*0.000000375);
+f = 0.019;
+h_L = f*(l/(4*R_h))*v^2 /(2*32.2);
+del_p = 0.0763*h_L;
+printf('loss of head = %.1f ft of air\n and the pressure drop = %.2f psf = %.3f psi',h_L,del_p,del_p*0.0069);