summaryrefslogtreecommitdiff
path: root/3446/CH3/EX3.10/Ex3_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH3/EX3.10/Ex3_10.sce')
-rw-r--r--3446/CH3/EX3.10/Ex3_10.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3446/CH3/EX3.10/Ex3_10.sce b/3446/CH3/EX3.10/Ex3_10.sce
new file mode 100644
index 000000000..289f40d71
--- /dev/null
+++ b/3446/CH3/EX3.10/Ex3_10.sce
@@ -0,0 +1,28 @@
+//Exa 3.10
+//To find required total transmit power in Watts.
+
+clc;
+clear all;
+
+Lp=140; // path losses in dB
+k=1.38*10^-23; // Boltzmann’s constant (W/Kelvin-Hz)
+k_db=10*log10(k);
+f=900;//in MHz
+Gt=8; //transmitting antenna gain(dB)
+Gr=0; //receiver antenna gain(dB)
+Ag=24;//gain of receiver amplifier in dB
+Fmargin=8;//Fade margin(dB)
+Nf=6;//Noise figure(dB)
+L0=20; // other losses in dB
+Lf=12; // antenna feed line loss in dB
+T=24.6;//Temperature expressed in dB
+R=39.8; // data rate in dB
+M=8; //overall link margin(dB)
+Eb_No=10;//dB
+
+//solution
+//From equation (3.54)
+pt_db=M-Gt-Gr-Ag+ Nf + T+ k_db+ Lp+ Lf+ L0 + Fmargin+ R+ Eb_No;
+
+Pt=10^(pt_db/10); //dB into normal number
+printf('Total transmitted power is %d Watts \n',Pt);