summaryrefslogtreecommitdiff
path: root/3739/CH7/EX7.8/EX7_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH7/EX7.8/EX7_8.sce')
-rw-r--r--3739/CH7/EX7.8/EX7_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3739/CH7/EX7.8/EX7_8.sce b/3739/CH7/EX7.8/EX7_8.sce
new file mode 100644
index 000000000..571dc5a00
--- /dev/null
+++ b/3739/CH7/EX7.8/EX7_8.sce
@@ -0,0 +1,18 @@
+//Chapter 7, Example 7.8, page 322
+clc
+
+//Initialisation
+A=99.8 //in percent
+l=1250 //radio link in km
+C=155*10**6 //in bps
+T=24*60*60 //Total measurement time
+
+//Calculation
+U=100-A
+u=U/100
+ue=u*l/2500
+uep=ue*0.3 //propagation unavailability value
+M=C*uep*T*10**-3 //number of errored bits due to propagation
+
+//Results
+printf("Maximum delay bit error per day = %d bits per day",M)