diff options
Diffstat (limited to '728/CH3/EX3.9')
-rwxr-xr-x | 728/CH3/EX3.9/Ex3_9.sce | 18 | ||||
-rwxr-xr-x | 728/CH3/EX3.9/Ex3_9.txt | 22 | ||||
-rwxr-xr-x | 728/CH3/EX3.9/Ex3_9_ans.txt | 12 |
3 files changed, 52 insertions, 0 deletions
diff --git a/728/CH3/EX3.9/Ex3_9.sce b/728/CH3/EX3.9/Ex3_9.sce new file mode 100755 index 000000000..8bf0a5429 --- /dev/null +++ b/728/CH3/EX3.9/Ex3_9.sce @@ -0,0 +1,18 @@ +//Caption:Determine in dB: (a)-reflection loss, (b)-transmission line (c)-return loss.
+//Exa: 3.9
+clc;
+clear;
+close;
+Z_o=600;//in ohm
+Z_s=50;//in ohm
+l=200;//in meter
+Z_l=500;//in ohm
+p=(Z_l-Z_o)/(Z_l+Z_o);
+ref_los=10*(log(1/(1-(abs(p))^2)))/(log(10));//in dB
+disp(ref_los,"Reflection loss (in dB) =");
+//attenuation loss= 0 dB
+//Transmisson loss = (attenuation loss)+(reflection loss) = (reflection loss)
+tran_los=ref_los;
+disp(tran_los,"Transmisson loss (in dB) =");
+ret_los=10*((log(abs(p)))/(log(10)));
+disp(ret_los,"Return loss(in dB) =");
\ No newline at end of file diff --git a/728/CH3/EX3.9/Ex3_9.txt b/728/CH3/EX3.9/Ex3_9.txt new file mode 100755 index 000000000..c499509b6 --- /dev/null +++ b/728/CH3/EX3.9/Ex3_9.txt @@ -0,0 +1,22 @@ +//Caption:Determine in dB: (a)-reflection loss, (b)-transmission line (c)-return loss.
+//Exa: 3.9
+clc;
+clear;
+close;
+Z_o=600;//in ohm
+Z_s=50;//in ohm
+l=200;//in meter
+Z_l=500;//in ohm
+p=(Z_l-Z_o)/(Z_l+Z_o);
+ref_los=10*(log(1/(1-(abs(p))^2)))/(log(10));//in dB
+disp(ref_los,"Reflection loss (in dB) =");
+//attenuation loss= 0 dB
+//Transmisson loss = (attenuation loss)+(reflection loss) = (reflection loss)
+tran_los=ref_los;
+disp(tran_los,"Transmisson loss (in dB) =");
+ret_los=10*((log(abs(p)))/(log(10)));
+disp(ret_los,"Return loss(in dB) =");
+
+
+
+
diff --git a/728/CH3/EX3.9/Ex3_9_ans.txt b/728/CH3/EX3.9/Ex3_9_ans.txt new file mode 100755 index 000000000..1958f2c98 --- /dev/null +++ b/728/CH3/EX3.9/Ex3_9_ans.txt @@ -0,0 +1,12 @@ +Reflection loss (in dB) =
+
+ 0.0360412
+
+ Transmisson loss (in dB) =
+
+ 0.0360412
+
+ Return loss(in dB) =
+
+ - 10.413927
+
|