summaryrefslogtreecommitdiff
path: root/728/CH3/EX3.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /728/CH3/EX3.9
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '728/CH3/EX3.9')
-rwxr-xr-x728/CH3/EX3.9/Ex3_9.sce18
-rwxr-xr-x728/CH3/EX3.9/Ex3_9.txt22
-rwxr-xr-x728/CH3/EX3.9/Ex3_9_ans.txt12
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
+