summaryrefslogtreecommitdiff
path: root/3773/CH24/EX24.7/Ex24_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3773/CH24/EX24.7/Ex24_7.sce')
-rw-r--r--3773/CH24/EX24.7/Ex24_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3773/CH24/EX24.7/Ex24_7.sce b/3773/CH24/EX24.7/Ex24_7.sce
new file mode 100644
index 000000000..a811ac5fb
--- /dev/null
+++ b/3773/CH24/EX24.7/Ex24_7.sce
@@ -0,0 +1,13 @@
+//Chapter 24: Space Wave Propagation
+//Example 24-14.1
+clc;
+
+//Variable Initialization
+d = 3000 //Distance (km)
+f = 3e3 //Frequency (MHz)
+
+//Calculations
+path_l = 32.45 + 20*log10(f) + 20*log10(d)
+
+//Result
+mprintf("The path loss between the two points is %.3f dB",path_l)