From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1979/CH3/EX3.7/Ex3_7.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1979/CH3/EX3.7/Ex3_7.sce (limited to '1979/CH3/EX3.7/Ex3_7.sce') 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.. -- cgit