diff options
Diffstat (limited to '2087/CH4/EX4.9/example4_9.sce')
-rwxr-xr-x | 2087/CH4/EX4.9/example4_9.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2087/CH4/EX4.9/example4_9.sce b/2087/CH4/EX4.9/example4_9.sce new file mode 100755 index 000000000..cf7aaae2a --- /dev/null +++ b/2087/CH4/EX4.9/example4_9.sce @@ -0,0 +1,14 @@ +
+
+//example 4.9
+//calculate preciptation value which has recurrence period of 6 years
+clc;funcprot(0);
+//given
+p=[475 377 731 1066 361 305 926 628 409 236 337 853]; //precipitation value
+N=12; //total number of years
+T=6; //recurrence interval
+m=N/T;
+mprintf("Ranking of storm=%i.",m);
+//hence pick 2nd severest storm
+mprintf("\npreciptation value which has recurrence period of 6 years=%i mm.",p(7));
+
|