summaryrefslogtreecommitdiff
path: root/2513/CH8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2513/CH8
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 '2513/CH8')
-rwxr-xr-x2513/CH8/EX8.2/8_2.sce20
-rwxr-xr-x2513/CH8/EX8.3/8_3.sce13
-rwxr-xr-x2513/CH8/EX8.4/8_4.sce21
-rwxr-xr-x2513/CH8/EX8.6/8_6.sce10
4 files changed, 64 insertions, 0 deletions
diff --git a/2513/CH8/EX8.2/8_2.sce b/2513/CH8/EX8.2/8_2.sce
new file mode 100755
index 000000000..6fb38846e
--- /dev/null
+++ b/2513/CH8/EX8.2/8_2.sce
@@ -0,0 +1,20 @@
+clc
+//initialisation of variables
+a=0.75//ft
+p=123//mg
+v=100//ft
+s=33//mg
+s1=67//mg
+d=26.6//mgd
+d1=0.0477//mgd
+q=0.750//gpd/sq mile
+d2=365//days
+//CALCULATIONS
+S=p/a//mg per sq mile
+Cv=v*s/s1//percent
+M=d*d1//mgd per sq mile
+D=v*q/M//MAF
+D1=(v*p)/(M*d2)//MAF
+R=p/q//days
+//RESULTS
+printf('the use monthly averages rather then daily stream flow=% f days',R)
diff --git a/2513/CH8/EX8.3/8_3.sce b/2513/CH8/EX8.3/8_3.sce
new file mode 100755
index 000000000..b484b4902
--- /dev/null
+++ b/2513/CH8/EX8.3/8_3.sce
@@ -0,0 +1,13 @@
+clc
+//initialisation of variables
+d=750000//gpd per sq mile
+v=0.22//ft
+a=1.27//ft
+q=0.30//ft
+d1=365//days
+p=0.25//ft
+//CALCULATIONS
+Q=q*a*d1//mg/sq mile
+H=p*a*d1//mg/sq mile
+//RESULTS
+printf('the results obtained by normal analytical procedures and by Hazen s=% f mg/sq mile',H)
diff --git a/2513/CH8/EX8.4/8_4.sce b/2513/CH8/EX8.4/8_4.sce
new file mode 100755
index 000000000..e8c2dccbc
--- /dev/null
+++ b/2513/CH8/EX8.4/8_4.sce
@@ -0,0 +1,21 @@
+clc
+//initialisation of variables
+d=30.0//mgd
+a=40.0//sq miles
+a1=1500//acres
+r1=47.0//in
+r2=27.0//in
+q=0.9//in
+k=640//in
+h=0.052//gpd/sq mile
+//CALCULATIONS
+Q=r2-(r2+a-r1)*q*a1/(k*a)//in
+D=d+a*h//mgd
+A=a-(q*a1/k)*[1-(r1-a)/(r2)]//sq miles
+R=r2+a-r1//in
+S=R*q//in
+//RESULTS
+printf('the revised mean annual runoff=% f in',Q)
+printf('the equivalent mean draft=% f mgd',D)
+printf('the equivalent land area=% f sq miles',A)
+printf('the adjusted flowline=% f in',S)
diff --git a/2513/CH8/EX8.6/8_6.sce b/2513/CH8/EX8.6/8_6.sce
new file mode 100755
index 000000000..25ef43f49
--- /dev/null
+++ b/2513/CH8/EX8.6/8_6.sce
@@ -0,0 +1,10 @@
+clc
+//initialisation of variables
+p=100//ft
+q=27000//acre-ft
+p1=10//ft
+s=8250//acre-ft
+//CALCULATIONS
+R=p*s/q//percent
+//RESULTS
+printf('the ratio of peak inflow from fuller values=% f percent',R)