summaryrefslogtreecommitdiff
path: root/2087/CH2/EX2.7/example2_7.sce
blob: 5d4169136dd178f4a89a1715042179a53d681c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


//example 2.7
//calculate 
//time required to irrigate
//maximum area that can be irrigated
clc;
//Given
Q=0.0072;//discharge through well
y=0.1;//average depth of flow
I=0.05//infiltration capacity of soil
A=0.04//area of land
t=(2.303*y*60/I)*log10(Q/(Q-I*A));
Amax=Q/I;
t=round(t*100)/100;
mprintf("Time required to irrigate=%f minutes.",t);
mprintf("\nMaximum area that can be irrigated=%f ha.",Amax);