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 /1793/CH8/EX8.2 | |
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 '1793/CH8/EX8.2')
-rwxr-xr-x | 1793/CH8/EX8.2/8q2.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1793/CH8/EX8.2/8q2.sce b/1793/CH8/EX8.2/8q2.sce new file mode 100755 index 000000000..7668b13d9 --- /dev/null +++ b/1793/CH8/EX8.2/8q2.sce @@ -0,0 +1,18 @@ +clc
+//initialisation of variables
+Nd= 6
+H1= 5.6 //m
+H2= 2.2 //m
+k= 5e-5 //cm/sec
+dL= 4.1 //m
+//calculations
+H= (H1-H2)/Nd
+h1= 5.61-H
+h2= 5.61-5*H
+q= 2.38*(H1-H2)*k/Nd
+i= H/dL
+//results
+printf ('at point a,water will rise to height of = % 3f m ',h1)
+printf ('at point b,water will rise to height of = % 3f m ',h2)
+printf ('total rate of seepage per unit lenghth = %e m^3/sec/m ',q)
+printf ('average hydraulic gradient at c = % 3f ',i)
|