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.3/example9_3.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 '1962/CH9/EX9.3/example9_3.sce')
-rwxr-xr-x | 1962/CH9/EX9.3/example9_3.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1962/CH9/EX9.3/example9_3.sce b/1962/CH9/EX9.3/example9_3.sce new file mode 100755 index 000000000..426e1928f --- /dev/null +++ b/1962/CH9/EX9.3/example9_3.sce @@ -0,0 +1,17 @@ +
+//example 9.3
+//page 311
+clc; funcprot(0);
+//initialisation of variable
+Q=0.1;
+hf=5.43;//head loss
+L=100;
+nu=1.007*10^-6;//kinematic viscosity
+pi=3.14;
+g=9.81;
+A=8*L*Q^2/hf/g/pi^2;
+//using moody's chart
+f=0.021;
+D=(A*f)^0.2;
+disp(D,"diameter of the pipe(m)=");
+clear
|