summaryrefslogtreecommitdiff
path: root/1962/CH9/EX9.9/example9_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1962/CH9/EX9.9/example9_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 '1962/CH9/EX9.9/example9_9.sce')
-rwxr-xr-x1962/CH9/EX9.9/example9_9.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1962/CH9/EX9.9/example9_9.sce b/1962/CH9/EX9.9/example9_9.sce
new file mode 100755
index 000000000..17efb5d14
--- /dev/null
+++ b/1962/CH9/EX9.9/example9_9.sce
@@ -0,0 +1,18 @@
+
+//example 9.9
+//page 329
+clc; funcprot(0);
+//initialisation of variable
+nu=1.007*10^-6;
+g=9.81;
+hf=100;
+pi=3.14;
+//on solving V1 and V2 in terms of V3 and
+// iterate for f1 and f2
+//we get
+f1=0.019;
+f2=0.022;
+V3=sqroot(2*g*hf/(8.4*f1+268.85*f2+4.85));
+Q3=V3*pi*0.08^2/4;
+disp(Q3,"flow in pipe 3(m^3/s)=");
+clear