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 /1962/CH9/EX9.12 | |
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 '1962/CH9/EX9.12')
-rwxr-xr-x | 1962/CH9/EX9.12/example9_12.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/1962/CH9/EX9.12/example9_12.sce b/1962/CH9/EX9.12/example9_12.sce new file mode 100755 index 000000000..449987fbb --- /dev/null +++ b/1962/CH9/EX9.12/example9_12.sce @@ -0,0 +1,23 @@ +
+//example 9.12
+//page 340
+clc; funcprot(0);
+//initialisation of variable
+L1=5000;
+D1=1.5;
+EL1=135;//energy level 1
+L2=800;
+D2=0.5;
+EL2=120;
+EL3=112;
+L3=1500;
+D3=0.75;
+//using iteration junction height=131.6;
+
+Q1=sqroot((EL1-131.6)/0.7594);
+disp(Q1,"flow in pipe 1(m^3/s)");
+Q2=sqroot((131.6-EL2)/36.33);
+disp(Q2,"flow in pipe 2(m^3/s)");
+Q3=sqroot((131.6-EL3)/8.168);
+disp(Q3,"flow in pipe 3(m^3/s)");
+clear
|