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 --- 1109/CH6/EX6.1/6_1.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1109/CH6/EX6.1/6_1.sce (limited to '1109/CH6/EX6.1/6_1.sce') diff --git a/1109/CH6/EX6.1/6_1.sce b/1109/CH6/EX6.1/6_1.sce new file mode 100755 index 000000000..3090e550d --- /dev/null +++ b/1109/CH6/EX6.1/6_1.sce @@ -0,0 +1,15 @@ +clear; +clc; +f=200*(10^6);s=4.48;ymin=6;Zo=300; //s=standing wave ratio +lo=300/(f*(10^-6)); //where f is in megahertz ,lo=wavelength of wave in air +b=2*%pi/lo; +phi=(2*b*ymin*(10^-2))-%pi; +ampK=(s-1)/(s+1); //ampK=amplitude of the reflection coefficient +K=ampK*(exp(%i*phi)); +A=real(K); +B=imag(K); +printf("-Complex reflection coefficient= %f /_ %f\n",round(abs(K)*1000)/1000,round(atan(B,A)*180/%pi)); +ZR=(Zo*(1+K))/(1-K); +C=real(ZR); +D=imag(ZR); +printf("-Terminating impedance of line = %f /_ %f ohms",abs(ZR),round(atan(D,C)*180*10/%pi)/10); -- cgit