summaryrefslogtreecommitdiff
path: root/1979/CH3/EX3.7/Ex3_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1979/CH3/EX3.7/Ex3_7.sce')
-rwxr-xr-x1979/CH3/EX3.7/Ex3_7.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1979/CH3/EX3.7/Ex3_7.sce b/1979/CH3/EX3.7/Ex3_7.sce
new file mode 100755
index 000000000..e83a90230
--- /dev/null
+++ b/1979/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,21 @@
+//chapter-3 page 50 example 3.7
+//==============================================================================
+clc;
+clear;
+
+Z0=50;//Characteristic Impedance in ohms
+S=3.2;//Voltage Standing Wave Ratio(VSWR)
+
+//It is possible to measure the load impedance if the line is assumed lossless,by measuring the VSWR,wavelength and the distance from the load to the nearest voltage minimum
+//CALCULATIONS
+w=1;//Assume Wavelength in met
+Xmin=0.23*w;//Distance from the load to the nearest voltage minimum in met
+b=(2*(%pi))/w;
+Zl=Z0*((1-(S*(%i)*tan(b*Xmin)))/(S-((%i)*tan(b*Xmin))));//Load impedance in ohms
+disp('Load impedance in ohms is');
+disp(Zl);
+
+
+//=========================END OF PROGRAM===================================================
+
+//Note: Check the answer given in Text book once. I think it is wrong in text book..