summaryrefslogtreecommitdiff
path: root/1466/CH10/EX10.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1466/CH10/EX10.5
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 '1466/CH10/EX10.5')
-rwxr-xr-x1466/CH10/EX10.5/10_5.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1466/CH10/EX10.5/10_5.sce b/1466/CH10/EX10.5/10_5.sce
new file mode 100755
index 000000000..81898ee21
--- /dev/null
+++ b/1466/CH10/EX10.5/10_5.sce
@@ -0,0 +1,20 @@
+
+clc
+//initialisation of variables
+p=80//percent
+ra=36.6//in
+area=1680//acres
+r=1/3
+re=15//in
+h=48//gallons per head
+V= 1098435 //gal
+//CALCULATOINS
+mir=ra*p/100
+cr=mir-re
+vol=area*4840*9*cr/12
+volg=(vol/0.161)+V
+vola=volg*(1-r)
+pop=vola/(h*365)
+//RESULTS
+printf (' Volume of rain collected per annum= %.f gal',volg)
+printf (' \n population supplied= %.f',pop-24)