diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3739/CH6/EX6.20/EX6_20.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3739/CH6/EX6.20/EX6_20.sce')
-rw-r--r-- | 3739/CH6/EX6.20/EX6_20.sce | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/3739/CH6/EX6.20/EX6_20.sce b/3739/CH6/EX6.20/EX6_20.sce new file mode 100644 index 000000000..e0b2bd13c --- /dev/null +++ b/3739/CH6/EX6.20/EX6_20.sce @@ -0,0 +1,34 @@ +//Chapter 6, Example 6.20, page 277
+clc
+
+//Initialisation
+pt=20 //transmitter power in watt
+Hb=30 //in metre
+Hm=3 //in metre
+gt=14.2 //trasmitter gain in dB
+gr=0.2 //receiver gain in dB
+f=450 //frequency in MHz
+gm=-2 //in dBd
+gr2=-2.2 //in dBi
+r1=10
+n=20
+hb=10
+hm=10
+
+
+//Calculation
+gt1=gt+gr2
+pr1=-62-38*log10(r1)-20*log10(f*900**-1)+7 //received signal level in suburban
+pr2=-64-43*log10(r1)-20*log10(f*900**-1)+7 //received signal level in urban
+ao=10*log10(2)+(gr2-6) //in dB (The answer provided in the textbook is wrong)
+pr11=-62-38*log10(r1)-20*log10(f*900**-1)+ao //received signal level in rural
+pr22=-64-43*log10(r1)-20*log10(f*900**-1)+ao //received signal level in cities
+ptd=10*log10(pt*10**3) //in dBm
+lp1=ptd-pr11 //Path loss in rural area
+lp2=ptd-pr22 //Path loss in cities area
+
+//Results
+printf("(2) In the suburban area, Pr = %.1f dBm",pr1)
+printf("\n In the urban area, Pr = %.1f dBm",pr2)
+printf("\n(3) Path loss in rural area Lp = %.1f dB",lp1) //The answer provided in the textbook is wrong
+printf("\n Path loss in cities area Lp = %.1f dB",lp2) //The answer provided in the textbook is wrong
|