summaryrefslogtreecommitdiff
path: root/2087/CH4/EX4.50/example4_50.sce
diff options
context:
space:
mode:
Diffstat (limited to '2087/CH4/EX4.50/example4_50.sce')
-rwxr-xr-x2087/CH4/EX4.50/example4_50.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2087/CH4/EX4.50/example4_50.sce b/2087/CH4/EX4.50/example4_50.sce
new file mode 100755
index 000000000..901aa5517
--- /dev/null
+++ b/2087/CH4/EX4.50/example4_50.sce
@@ -0,0 +1,16 @@
+
+
+//example 4.50
+//calculate fi index
+clc;funcprot(0);
+//given
+r=[0.6 1.35 2.25 3.45 2.7 2.4 1.5 0.75]; //incremental rainfall
+T=[1:1:8]; //time from start of rainfal
+t=8;
+P=15; //total rainfall
+R=8.7; //direct run-off
+W=(P-R)/t;
+//since fi wil be more than W
+tre=6;
+fi=((P-R)-r(1)-r(8))/tre;
+mprintf("fi index=%f cm/hr.",fi);