summaryrefslogtreecommitdiff
path: root/2087/CH3/EX3.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2087/CH3/EX3.7
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 '2087/CH3/EX3.7')
-rwxr-xr-x2087/CH3/EX3.7/example3_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2087/CH3/EX3.7/example3_7.sce b/2087/CH3/EX3.7/example3_7.sce
new file mode 100755
index 000000000..c83d1aedb
--- /dev/null
+++ b/2087/CH3/EX3.7/example3_7.sce
@@ -0,0 +1,19 @@
+
+
+//example 3.7
+//calculate watering frequency
+clc;
+//Given
+Fc=0.27; //Field capacity
+pwp=0.14; //permanent wilting point
+gammad=15; //dry density of soil
+gammaw=9.81; //unit weigth of water
+d=0.75; //effective depth of root zone
+Du=11; //daily consumptive use of water
+Am=Fc-pwp; //Available moisture
+//let readily available moisture be 80 percent of available moisture
+RAm=0.8*Am;
+Mo=Fc-RAm;
+D=gammad*d*(Fc-Mo)*100/gammaw;
+WF=D*10/Du;
+mprintf("Watering Frequency=%i days.",WF);