summaryrefslogtreecommitdiff
path: root/3281/CH1/EX1.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3281/CH1/EX1.2
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 '3281/CH1/EX1.2')
-rwxr-xr-x3281/CH1/EX1.2/ex1_2.jpgbin0 -> 22378 bytes
-rwxr-xr-x3281/CH1/EX1.2/ex1_2.sce48
2 files changed, 48 insertions, 0 deletions
diff --git a/3281/CH1/EX1.2/ex1_2.jpg b/3281/CH1/EX1.2/ex1_2.jpg
new file mode 100755
index 000000000..84c226e33
--- /dev/null
+++ b/3281/CH1/EX1.2/ex1_2.jpg
Binary files differ
diff --git a/3281/CH1/EX1.2/ex1_2.sce b/3281/CH1/EX1.2/ex1_2.sce
new file mode 100755
index 000000000..35a0392bf
--- /dev/null
+++ b/3281/CH1/EX1.2/ex1_2.sce
@@ -0,0 +1,48 @@
+//Page Number: 12
+//Example 1.2
+clc;
+//Given
+z0=50;//ohm
+zg=50;//ohm
+l=0.25;//m
+f=4D+9;//hz
+zl=100;//ohm
+vg=10;//V
+w=2*%pi*f;//rad/sec
+c=3D+8; //m/s
+
+//(i) Voltage and current at any point
+tg=(zg-z0)/(zg+z0);
+tl=(zl-z0)/(zl+z0);
+vi=z0*vg/(z0+zg);//V
+disp('V',vi,'Voltage at any point:');
+ii=vg/(2*z0);//A
+disp('A',ii,'Current at any point:');
+
+//(ii) Voltage at generator end
+//Taking z=1
+z=1;
+bet=w/c;
+vz=(vg/2)*exp(-%i*bet*(z+l))*(1+(tl*exp(2*%i*bet*z)));//V
+disp('V',vz,'Voltage at generator end:');
+iz=ii*exp(-%i*bet*(z+l))*(1-(tl*exp(2*%i*bet*z)));//A
+vz1=(vg/2)*exp(-%i*bet*(z+l))*(1+(tl*exp(2*%i*bet*z)));//V
+
+//Voltage at load end, z=0
+z11=0;
+vl=(vg/2)*exp(-%i*bet*l)*(1+(tl*exp(2*%i*bet*z11)));//V
+disp('V',vl,'Voltage at load end:');
+
+//(iii) Reflection coefficient
+zx=0.25;
+tz=tl*exp(%i*2*bet*zx);
+disp(tz,'Reflection coefficient:');
+
+//(iv) VSWR
+p=(1+tl)/(1-tl);
+disp(p,'VSWR:');
+
+//(v) Average power delivered to the load
+vl=20/3;
+pl0=vl^2/(2*zl);//W
+disp('W',pl0,'Average power delivered to the load:');