summaryrefslogtreecommitdiff
path: root/3739/CH7/EX7.15/EX7_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH7/EX7.15/EX7_15.sce')
-rw-r--r--3739/CH7/EX7.15/EX7_15.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3739/CH7/EX7.15/EX7_15.sce b/3739/CH7/EX7.15/EX7_15.sce
new file mode 100644
index 000000000..1ede37926
--- /dev/null
+++ b/3739/CH7/EX7.15/EX7_15.sce
@@ -0,0 +1,17 @@
+//Chapter 7, Example 7.14, page 344
+clc
+//Initialisation
+ur=0.001 //unavailability budget for hypothetical circuit
+d=50 //path-length in km
+A=0.25 //area conditions
+B=1 //area conditions
+f=8 //frequency in GHz
+
+
+//Calculation
+pw=ur*(d*(d*d)**-1) //deep fading occurrence probability
+po=6*10**-7*A*B*f*(d**3) //fading occurrence probability of desirable link
+FM=-log10(pw/po)*10 //fade margin
+
+//Results
+printf("Fade margin = %.1f dB",FM)