diff options
Diffstat (limited to '2087/CH4/EX4.68/example4_68.sce')
-rwxr-xr-x | 2087/CH4/EX4.68/example4_68.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2087/CH4/EX4.68/example4_68.sce b/2087/CH4/EX4.68/example4_68.sce new file mode 100755 index 000000000..d69a4777e --- /dev/null +++ b/2087/CH4/EX4.68/example4_68.sce @@ -0,0 +1,16 @@ +
+
+//example 4.68
+//calculate flood magnitude with return period of 1000 years
+clc;funcprot(0);
+//given
+T1=100;T2=50; //Return period
+F1=485;F2=445; //Peak flood
+y50=-(2.303*log10(2.303*log10(T2/(T2-1))));
+y100=-(2.303*log10(2.303*log10(T1/(T1-1))));
+y=(F2-F1)/(y50-y100);
+T=1000;
+y1000=-(2.303*log10(2.303*log10(T/(T-1))));
+x1000=F2+(y1000-y50)*y;
+x1000=round(x1000*10)/10;
+mprintf("flood magnitude with return period of 240 years=%f cumecs.",x1000);
|