diff options
Diffstat (limited to '2414/CH1/EX1.10/Ex1_10.sce')
-rwxr-xr-x | 2414/CH1/EX1.10/Ex1_10.sce | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/2414/CH1/EX1.10/Ex1_10.sce b/2414/CH1/EX1.10/Ex1_10.sce new file mode 100755 index 000000000..33aab13c1 --- /dev/null +++ b/2414/CH1/EX1.10/Ex1_10.sce @@ -0,0 +1,38 @@ +clc;
+
+//page 14
+//ex-1.10
+function [V]=voltage(PdBm)
+ P=1*10^(-3)*(10^(PdBm/10));
+ V=(75*P)^0.5;
+endfunction
+S=10; //dBm
+G1=13; //dB
+L1=26; //dB
+G2=20; //dB
+L2=29; //dB
+disp('(a) The output levels are');
+PdBm=S;
+V=voltage(PdBm);
+disp(V,'in Volts:',PdBm,'1. Signal source in dBm:');
+PdBm=S+G1;
+V=voltage(PdBm);
+disp(V,'in Volts:',PdBm,'2. Line Amplifier in dBm:');
+PdBm=S+G1-L1;
+V=voltage(PdBm);
+disp(V,'in Volts:',PdBm,'3. Cable section A in dBm:');
+PdBm=S+G1-L1+G2;
+V=voltage(PdBm);
+disp(V,'in Volts:',PdBm,'4. Booster amplifier in dBm:');
+PdBm=S+G1-L1+G2-L2;
+V=voltage(PdBm);
+disp(V,'in Volts:',PdBm,'5. Cable section B in dBm:');
+disp('(b). The output power to get a voltage of 6V');
+V=6; //volts
+R=75; //ohm
+Po=(V^2)/R;
+disp('W',Po,);
+PodBm=10*log10(Po*1000/1);
+disp('dBm',PodBm,'power in dBm');
+GrdB=PodBm-PdBm;
+disp('dB',GrdB,'The required gain is');
|