summaryrefslogtreecommitdiff
path: root/536/CH10/EX10.4/Example_10_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /536/CH10/EX10.4/Example_10_4.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 '536/CH10/EX10.4/Example_10_4.sce')
-rwxr-xr-x536/CH10/EX10.4/Example_10_4.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/536/CH10/EX10.4/Example_10_4.sce b/536/CH10/EX10.4/Example_10_4.sce
new file mode 100755
index 000000000..1a1224c23
--- /dev/null
+++ b/536/CH10/EX10.4/Example_10_4.sce
@@ -0,0 +1,22 @@
+clear;
+clc;
+
+printf("Example 10.4\n");
+
+Q=3e-6; //Flow rate of water
+Meu=1e-3; //Viscosity of water
+D=1.5e-9; //diffusivity of carbon dioxide in water
+rho=1e3; //Density of water
+
+//the mean velocity of flow is governed by equation 3.87 in which sin(phi)is
+//put equal to unity for a vertical surface:
+s=(Q*1e2*Meu*3/(rho*9.81))^(1/3);//Thickness of film
+
+//A=Ux/Us=0.95;
+A=0.95;
+y=s*(1-A)^0.5;//The distance below the free surface
+//using equation 10.108 and using tables of error fuctions
+t=(1.305/1.822)^2
+Us=rho*9.81*s^2/(2*Meu);//surface velocity
+L=Us*t;//The maximum lend=gth of column
+printf("\n The maximum length of column = %.2f m",L); \ No newline at end of file