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 /650/CH8/EX8.12/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 '650/CH8/EX8.12/12.sce')
-rwxr-xr-x | 650/CH8/EX8.12/12.sce | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/650/CH8/EX8.12/12.sce b/650/CH8/EX8.12/12.sce new file mode 100755 index 000000000..30447d572 --- /dev/null +++ b/650/CH8/EX8.12/12.sce @@ -0,0 +1,41 @@ +clc
+// dp_AB+dp_BC=dp_AD+dp_DC
+
+// dp_AD=2*f*rho*v^2*L/d
+
+// dp_AD=16600*(3-Q)^2
+// Likewise
+// dp_AB=16600*Q^2
+// dp_BC=16600*(Q+0.5)^2
+// dp_DC=16600*(2.1-Q)^2
+// By solving above 5 equations, we get
+
+Q=1.175; //litres per second
+
+disp("The rate of flow from B to C =")
+disp(Q+0.5)
+disp("litres per second")
+
+dp_AD=16600*(3-Q)^2;
+dp_AB=16600*Q^2;
+dp_BC=16600*(Q+0.5)^2;
+dp_DC=16600*(2.1-Q)^2;
+
+disp("dp_AD =")
+disp(dp_AD/1000)
+disp("kN/m^2")
+
+disp("dp_AB =")
+disp(dp_AB/1000)
+disp("kN/m^2")
+
+disp("dp_BC =")
+disp(dp_BC/1000)
+disp("kN/m^2")
+
+disp("dp_DC =")
+disp(dp_DC/1000)
+disp("kN/m^2")
+
+
+disp("The lowest pressure drop is in the pipe connecting C and D")
\ No newline at end of file |