summaryrefslogtreecommitdiff
path: root/2087/CH4/EX4.46
diff options
context:
space:
mode:
Diffstat (limited to '2087/CH4/EX4.46')
-rwxr-xr-x2087/CH4/EX4.46/example4_46.sce17
-rwxr-xr-x2087/CH4/EX4.46/example4_46_1.jpgbin0 -> 24942 bytes
-rwxr-xr-x2087/CH4/EX4.46/example4_46_2.jpgbin0 -> 24248 bytes
3 files changed, 17 insertions, 0 deletions
diff --git a/2087/CH4/EX4.46/example4_46.sce b/2087/CH4/EX4.46/example4_46.sce
new file mode 100755
index 000000000..699006a7f
--- /dev/null
+++ b/2087/CH4/EX4.46/example4_46.sce
@@ -0,0 +1,17 @@
+
+
+//example 4.46
+//draw storm hyetograph and intensity duration curve
+clc;funcprot(0);
+//given
+p=[0 5 7.5 8.5 9]; //accumulated precipitation
+t=[0 30 60 90 120]; //time
+r(1)=0;
+mprintf("Rainfall intensity:");
+for i=2:5
+ r(i)=p(i)-p(i-1); //rainfall in succesive 30 min interval
+ I(i)=r(i)*60/30; //rainfall intensity
+ mprintf("\n%f",I(i));
+end
+//graph is plotted between I and t.
+
diff --git a/2087/CH4/EX4.46/example4_46_1.jpg b/2087/CH4/EX4.46/example4_46_1.jpg
new file mode 100755
index 000000000..d12bd9b2a
--- /dev/null
+++ b/2087/CH4/EX4.46/example4_46_1.jpg
Binary files differ
diff --git a/2087/CH4/EX4.46/example4_46_2.jpg b/2087/CH4/EX4.46/example4_46_2.jpg
new file mode 100755
index 000000000..84aba6158
--- /dev/null
+++ b/2087/CH4/EX4.46/example4_46_2.jpg
Binary files differ