summaryrefslogtreecommitdiff
path: root/3446/CH3/EX3.3/Ex3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH3/EX3.3/Ex3_3.sce')
-rw-r--r--3446/CH3/EX3.3/Ex3_3.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3446/CH3/EX3.3/Ex3_3.sce b/3446/CH3/EX3.3/Ex3_3.sce
new file mode 100644
index 000000000..ff66320c4
--- /dev/null
+++ b/3446/CH3/EX3.3/Ex3_3.sce
@@ -0,0 +1,20 @@
+//Exa 3.3
+//To determine received power and allowable Path loss.
+
+clc;
+clear all;
+
+d=3*1000;//in metres
+Y=4;// path loss exponent
+Pt=4; //Transmitted power in watts
+f=1800*10^6;//in Hz
+Shadow=10.5; //in dB
+d0=100;//in metres
+P0=-32; //in dBm
+
+//solution
+disp("Using equation 3.11 and including shadow effect we get")
+Pr=P0+10*Y*log10(d0/d)+Shadow;
+printf(' Received power is %.1f dBm \n',Pr);
+path_loss=10*log10(Pt*1000)-Pr;
+printf(' Allowable path loss is %.1f dB \n ',path_loss);