summaryrefslogtreecommitdiff
path: root/2087/CH3/EX3.26
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.26
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.26')
-rwxr-xr-x2087/CH3/EX3.26/example3_26.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2087/CH3/EX3.26/example3_26.sce b/2087/CH3/EX3.26/example3_26.sce
new file mode 100755
index 000000000..a5b0b4e1a
--- /dev/null
+++ b/2087/CH3/EX3.26/example3_26.sce
@@ -0,0 +1,18 @@
+
+
+//example 3.26
+//calculate watering interval
+clc;
+//given
+Fc=0.3; //field capacity
+pwp=0.11; //permanent wilting percent
+gammad=1300; //density of soil
+gammaw=1000; //density of water
+d=700; //root zone depth
+CW=12; //daily consumptive use of water
+WHC=Fc-pwp;
+mo=Fc-(0.75*WHC);
+D=gammad*d*(Fc-mo)/gammaw;
+I=D/CW;
+mprintf(" watering interval=%i days",I);
+