summaryrefslogtreecommitdiff
path: root/1616/CH2/EX2.17/ex2_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '1616/CH2/EX2.17/ex2_17.sce')
-rw-r--r--1616/CH2/EX2.17/ex2_17.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1616/CH2/EX2.17/ex2_17.sce b/1616/CH2/EX2.17/ex2_17.sce
new file mode 100644
index 000000000..0e0c345e6
--- /dev/null
+++ b/1616/CH2/EX2.17/ex2_17.sce
@@ -0,0 +1,13 @@
+//ex2.17 find the impedence at a distance of 0.2lamda from the junction and VSWR
+
+bl1=0.6*%pi;
+bl2=0.4*%pi;
+Z0=50;
+ZL=75;
+Z2=Z0*(ZL*cos(bl1)+%i*Z0*sin(bl1))/(Z0*cos(bl1)+%i*ZL*sin(bl1));
+Z1=50;
+Z=Z1*Z2/(Z1+Z2);
+Zl2=Z0*(Z*cos(bl2)+%i*50*sin(bl2))/(50*cos(bl2)+%i*Z*sin(bl2));
+T=abs((Z-Z0)/(Z+Z0));
+VSWR=(1+T)/(1-T);
+disp('VSWR on the line is = '+string(VSWR)+'','the impedence at a distance of 0.2lamda from the junction is = '+string(Zl2)+' ohm'); \ No newline at end of file