summaryrefslogtreecommitdiff
path: root/3739/CH7/EX7.6/EX7_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3739/CH7/EX7.6/EX7_6.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH7/EX7.6/EX7_6.sce')
-rw-r--r--3739/CH7/EX7.6/EX7_6.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3739/CH7/EX7.6/EX7_6.sce b/3739/CH7/EX7.6/EX7_6.sce
new file mode 100644
index 000000000..ad3f4960c
--- /dev/null
+++ b/3739/CH7/EX7.6/EX7_6.sce
@@ -0,0 +1,31 @@
+//Chapter 7, Example 7.6, page 309
+clc
+//Initialisation
+pt=500 //Transmitter power in mW
+gt=42 //transmitter antenna gain in dB
+gr=44 //receiver antenna gain in dB
+lbt=2.6 //transmitter branching loss in dB
+lbr=3 //receiver branching loss in dB
+flt=45 //transmitter feeder length
+flr=35 //receiver feeder length
+fls=6.5 //feeder loss
+prx=-72 //Receiver sensitivity
+d=30 //path distance in km
+f=8.4 //frequency in ghz
+
+//Calculation
+ptx=10*log10(pt) //transmitter threshold level
+lft1=flt*fls/100
+lfr=flr*fls/100
+eirp=ptx+gt-lbt-lft1 //Transmitter effective power
+sg=ptx-prx
+fsl=92.4+20*log10(f)+20*log10(d)
+rsl=ptx+gt+gr-fsl-lft1-lfr-lbt-lbr
+fm=rsl-prx
+
+//Results
+printf("EIRP = %.2f dBm",eirp)
+printf("\nSG = %.2f dBm",sg)
+printf("\nFSL = %.2f dB",fsl)
+printf("\nRSL = %.2f dBm",rsl)
+printf("\nFM = %.2f dB",fm)