diff options
Diffstat (limited to '2087/CH4/EX4.67/example4_67.sce')
-rwxr-xr-x | 2087/CH4/EX4.67/example4_67.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2087/CH4/EX4.67/example4_67.sce b/2087/CH4/EX4.67/example4_67.sce new file mode 100755 index 000000000..196e16bb6 --- /dev/null +++ b/2087/CH4/EX4.67/example4_67.sce @@ -0,0 +1,16 @@ +
+
+//example 4.67
+//calculate return period of flood of 9950 cumec/s
+clc;funcprot(0);
+//given
+xavg=4200; //mean
+sigma=1705; //standard deviation
+xt=9550; //flood value
+K=(xt-xavg)/sigma;
+yt=1.2825*K+0.577;
+l=%e^(%e^(-yt));
+T=l/(l-1);
+T=round(T*100)/100;
+mprintf("Return period of flood of 9950 cumec/s=%f years.",T);
+
|