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.9/9.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.9/9.sce')
-rwxr-xr-x | 650/CH8/EX8.9/9.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/650/CH8/EX8.9/9.sce b/650/CH8/EX8.9/9.sce new file mode 100755 index 000000000..330887acd --- /dev/null +++ b/650/CH8/EX8.9/9.sce @@ -0,0 +1,21 @@ +clc
+d2=0.06; // m
+d1=0.12; // m
+k=0.44;
+f=0.05;
+L1=500; // m
+g=9.81; // m/s^2
+
+// v1=d2^2/d1^2*v2
+
+// H_f=4*f*L1/16/d*v2^2/2/g
+// H_c=k*v2^2/2/g
+// H_f=4*f*L2/d*v2^2/2/g
+// H_exit=v2^2/2/g
+
+v2=sqrt(30*2*g/173.4);
+
+Q=%pi*d2^2/4*v2;
+disp("The rate of flow =")
+disp(Q)
+disp("m^3/s")
\ No newline at end of file |