summaryrefslogtreecommitdiff
path: root/3281/CH9/EX9.6/ex9_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3281/CH9/EX9.6/ex9_6.sce
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/CH9/EX9.6/ex9_6.sce')
-rwxr-xr-x3281/CH9/EX9.6/ex9_6.sce45
1 files changed, 45 insertions, 0 deletions
diff --git a/3281/CH9/EX9.6/ex9_6.sce b/3281/CH9/EX9.6/ex9_6.sce
new file mode 100755
index 000000000..31e9088e5
--- /dev/null
+++ b/3281/CH9/EX9.6/ex9_6.sce
@@ -0,0 +1,45 @@
+//Page Number: 455
+//Example 9.6
+clc;
+//Given
+S11=0.60;
+S12=0.045;
+S21=2.50;
+S22=0.50
+TS=0.5;
+TL=0.4;
+Vrms=10; //V
+Z0=50; //ohm
+
+//(i)Reflection coefficients of input and output
+Tin=S11+((S12*S21*TL)/(1-(S22*TL)));
+Tout=S22+((S12*S21*TS)/(1-(S22*TS)));
+disp(Tin,'Reflection coefficients of input:');
+disp(Tout,'Reflection coefficients of output:');
+
+//(ii) Gains
+//Transducer Gain
+x=(1-(TS)^2)/((1-(S11*TS))^2);
+y=(S21*S21);
+z=(1-(TL)^2)/((1-(Tout*TL))^2);
+GT=x*y*z;
+disp(GT,'Transducer Gain:');
+
+//Available Power Gain
+z1=1-(Tout)^2;
+GA=(x*y)/z1;
+disp(GA,'Available power Gain:');
+
+//Power Gain
+z2=1-(Tin)^2;
+GP=(x*y)/z2;
+disp(GP,'Power Gain:');
+
+//Calculation for Tout and Gains are wrong in the book, hence the answers dont match
+
+//(iii) Power available
+Gt=9.4;
+Pas=(sqrt(2)*Vrms)^2/(8*Z0);
+Pal=Gt*Pas;
+disp('W',Pas,'Power available at source:');
+disp('W',Pal,'Power available at load:');