diff options
Diffstat (limited to '2219/CH13/EX13.6/Ex13_6.sce')
-rwxr-xr-x | 2219/CH13/EX13.6/Ex13_6.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2219/CH13/EX13.6/Ex13_6.sce b/2219/CH13/EX13.6/Ex13_6.sce new file mode 100755 index 000000000..8c90acc2c --- /dev/null +++ b/2219/CH13/EX13.6/Ex13_6.sce @@ -0,0 +1,15 @@ +//Chapter 13 example 6
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+UF_sh = 0.01; // unavail. factor for single hop
+IF_SD = 100; // improvement factor due to space diversity
+
+// Calculations
+UF_4hl = 4* UF_sh/100; // unavail. factor for 4 hop link and conv from %
+UF = UF_sh/(100*IF_SD);// unavail. factor for single hop link if it employs space diversity
+
+// Output
+mprintf('unavail. factor for 4 hop link = %3.4f\n unavail. factor for single hop link if it employs space diversity = %3.0e',UF_4hl,UF);
+//------------------------------------------------------------------------------
|