summaryrefslogtreecommitdiff
path: root/1793/CH8/EX8.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1793/CH8/EX8.2
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 '1793/CH8/EX8.2')
-rwxr-xr-x1793/CH8/EX8.2/8q2.sce18
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)