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 /2513/CH13 | |
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 '2513/CH13')
-rwxr-xr-x | 2513/CH13/EX13.2/13_2.sce | 18 | ||||
-rwxr-xr-x | 2513/CH13/EX13.3/13_3.sce | 19 | ||||
-rwxr-xr-x | 2513/CH13/EX13.6/13_6.sce | 19 | ||||
-rwxr-xr-x | 2513/CH13/EX13.8/13_8.sce | 12 |
4 files changed, 68 insertions, 0 deletions
diff --git a/2513/CH13/EX13.2/13_2.sce b/2513/CH13/EX13.2/13_2.sce new file mode 100755 index 000000000..aa5c4580c --- /dev/null +++ b/2513/CH13/EX13.2/13_2.sce @@ -0,0 +1,18 @@ +clc
+//initialisation of variables
+p1=7.8//ft
+p2=6.0//ft
+p3=7.4//ft
+p4=6.5//ft
+p=7.6//ft
+h=1.0//ft
+h1=6.7//ft
+p5=3.3//ft
+//CALCULATIONS
+D=p1-p2//mgd
+D1=p1-p3//mgd
+D2=p-p4//mgd
+D3=p4+h//mgd
+D4=h1-p5//mgd
+//RESULTS
+printf('the demand is taken =% f mgd',D3)
diff --git a/2513/CH13/EX13.3/13_3.sce b/2513/CH13/EX13.3/13_3.sce new file mode 100755 index 000000000..aed844268 --- /dev/null +++ b/2513/CH13/EX13.3/13_3.sce @@ -0,0 +1,19 @@ +clc
+//initialisation of variables
+w=500//ft
+p=20//psig
+h=40//psig
+h1=1000//in
+q=1250//ft
+g=2.308/0.75//ft
+g1=2.308/1.00//ft
+s=5200//gpm
+a=250//gpm
+//CALCULATIONS
+H=[h1-(1/2)*(w)]//ft
+H1=(h-p)*g//percent
+Q=[q-(1/2)*(w)]//ft
+Q1=(h-p)*g1//percent
+S=s/a//gpm
+//RESULTS
+printf('the number of standard fire streams=% f gpm',S)
diff --git a/2513/CH13/EX13.6/13_6.sce b/2513/CH13/EX13.6/13_6.sce new file mode 100755 index 000000000..6bfd57839 --- /dev/null +++ b/2513/CH13/EX13.6/13_6.sce @@ -0,0 +1,19 @@ +clc
+//initialisation of variables
+h1=2.1*3//ft
+h2=2.1//ft
+h=8.4//ft
+p=1000//ft
+h3=5.7//ft
+h4=4.2*3//ft
+q=4.2//ft
+s=1.68//ft
+q1=1.33//ft
+//CALCULATIONS
+A=p*h/h2//ft
+B=p*(h3+h4)/q//ft
+C=p*(h1+h2)/s//ft
+//RESULTS
+printf('the equilent pipe for the Hazen willians coefficent=% f ft',A)
+printf('the equilent pipe for the Hazen willians coefficent=% f ft',B)
+printf('the equilent pipe for the Hazen willians coefficent=% f ft',C)
diff --git a/2513/CH13/EX13.8/13_8.sce b/2513/CH13/EX13.8/13_8.sce new file mode 100755 index 000000000..55b7b23de --- /dev/null +++ b/2513/CH13/EX13.8/13_8.sce @@ -0,0 +1,12 @@ +clc
+//initialisation of variables
+d=10//hr
+p=50000//in
+a=7.5//mgd
+w=0.75//mg
+s=5.03//mg
+//CALCULATIONS
+S=s/w//mg
+P=S-s//mg
+//RESULTS
+printf('a steady gravity supply equal to maximum daily=% f mg',P)
|