summaryrefslogtreecommitdiff
path: root/3281/CH8/EX8.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3281/CH8/EX8.2
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 '3281/CH8/EX8.2')
-rwxr-xr-x3281/CH8/EX8.2/ex8_2.jpgbin0 -> 15889 bytes
-rwxr-xr-x3281/CH8/EX8.2/ex8_2.sce43
2 files changed, 43 insertions, 0 deletions
diff --git a/3281/CH8/EX8.2/ex8_2.jpg b/3281/CH8/EX8.2/ex8_2.jpg
new file mode 100755
index 000000000..8795f4d91
--- /dev/null
+++ b/3281/CH8/EX8.2/ex8_2.jpg
Binary files differ
diff --git a/3281/CH8/EX8.2/ex8_2.sce b/3281/CH8/EX8.2/ex8_2.sce
new file mode 100755
index 000000000..ff79167d5
--- /dev/null
+++ b/3281/CH8/EX8.2/ex8_2.sce
@@ -0,0 +1,43 @@
+//Page Number: 390
+//Example 8.2
+clc;
+//Given
+Rf=1; //ohm
+Rr=4; //ohm
+Ls=0.3D-9; //H
+Cj=0.1D-12; //F
+f=3.18D+9; //Hz
+Z0=50; //ohm
+
+Zf=Rf+(%i*round(2*%pi*f*Ls));
+Zr=Rr+(%i*(round(2*%pi*f*Ls)-(1/(2*%pi*f*Cj))));
+
+//Series Configuration
+disp('Series Configuration');
+
+//Insertion Loss
+x=(2*Z0)/((2*Z0)+Zf);
+x1=sqrt((real(x))^2+(imag(x))^2);
+IN=-20*log10(x1);
+disp('dB',IN,'Insertion Loss:');
+
+//Isolation Loss
+y=(2*Z0)/((2*Z0)+Zr);
+y1=sqrt((real(y))^2+(imag(y))^2);
+IS=-20*log10(y1);
+disp('dB',IS,'Isolation Loss:');
+
+//Shunt Configuration
+disp('Shunt Configuration');
+
+//Insertion Loss
+a=(2*Zr)/((2*Zr)+Z0);
+a1=sqrt((real(a))^2+(imag(a))^2);
+INs=-20*log10(a1);
+disp('dB',INs,'Insertion Loss:');
+
+//Isolation Loss
+b=(2*Zf)/((2*Zf)+Z0);
+b1=sqrt((real(b))^2+(imag(b))^2);
+ISs=-20*log10(b1);
+disp('dB',ISs,'Isolation Loss:');