summaryrefslogtreecommitdiff
path: root/339/CH2/EX2.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /339/CH2/EX2.8
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 '339/CH2/EX2.8')
-rwxr-xr-x339/CH2/EX2.8/ex2_8.JPGbin0 -> 21985 bytes
-rwxr-xr-x339/CH2/EX2.8/ex2_8.sce22
2 files changed, 22 insertions, 0 deletions
diff --git a/339/CH2/EX2.8/ex2_8.JPG b/339/CH2/EX2.8/ex2_8.JPG
new file mode 100755
index 000000000..c70bb2150
--- /dev/null
+++ b/339/CH2/EX2.8/ex2_8.JPG
Binary files differ
diff --git a/339/CH2/EX2.8/ex2_8.sce b/339/CH2/EX2.8/ex2_8.sce
new file mode 100755
index 000000000..7800ec23f
--- /dev/null
+++ b/339/CH2/EX2.8/ex2_8.sce
@@ -0,0 +1,22 @@
+ZL=25; //input impedance
+Z0=50; //characteristic impedance
+epsilonr=4;
+dp=0.001;
+f0=500e6;
+mu0=4*%pi*1e-7;
+epsilon0=8.85e-12;
+Zline=sqrt(Z0*ZL); //line impedance
+w=dp/Zline*sqrt(mu0/epsilon0/epsilonr);
+L=mu0*dp/w; //inductance
+C=epsilon0*epsilonr*w/dp; //capacitance
+vp=1/sqrt(L*C); //phase velocity
+Z0=sqrt(L/C);
+d=1/(4*f0*sqrt(L*C));
+N=100;
+f=2e9*(0:N)/N;
+betta=2*%pi*f/vp;
+Z=Zline*((ZL+%i*Zline*tan(betta*d))./(Zline+%i*ZL*tan(betta*d)));
+plot(f/1e9,real(Z));
+title('Input impedance of the quarter-wave transformer');
+xlabel('Frequency {\itf}, GHz');
+ylabel('Input impedance |Z_{in}|, {\Omega}'); \ No newline at end of file