summaryrefslogtreecommitdiff
path: root/3281/CH4/EX4.15
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3281/CH4/EX4.15
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/CH4/EX4.15')
-rwxr-xr-x3281/CH4/EX4.15/ex4_15.jpgbin0 -> 15394 bytes
-rwxr-xr-x3281/CH4/EX4.15/ex4_15.sce39
2 files changed, 39 insertions, 0 deletions
diff --git a/3281/CH4/EX4.15/ex4_15.jpg b/3281/CH4/EX4.15/ex4_15.jpg
new file mode 100755
index 000000000..abb7b1c69
--- /dev/null
+++ b/3281/CH4/EX4.15/ex4_15.jpg
Binary files differ
diff --git a/3281/CH4/EX4.15/ex4_15.sce b/3281/CH4/EX4.15/ex4_15.sce
new file mode 100755
index 000000000..a3823899f
--- /dev/null
+++ b/3281/CH4/EX4.15/ex4_15.sce
@@ -0,0 +1,39 @@
+//Page Number: 216
+//Example 4.15
+clc;
+//Given
+T1=1/2;
+T2=3/5;
+T3=0;
+T4=4/5;
+p=500D-3; //W
+//S matrix for magic Tee
+x=1/sqrt(2);
+s=[0 0 x x;0 0 x -x;x x 0 0;x -x 0 0];
+//Using the input output relation
+//[b]=[s]*[a]
+b=[0.6565;0.7576;0.5536;0.0892];
+
+//(i) Power transmitted through ports
+//Port 1
+p1=(1/2)*b(1,1)^2*(1-T1^2);
+disp('W',p1,'Power at port 1:');
+
+//Port2
+p2=(1/2)*(b(2,1)^2)*(1-(T2^2));
+disp('W',p2,'Power at port 2:');
+
+//Port 4
+p4=(1/2)*b(4,1)^2*(1-T4^2);
+disp('W',p4,'Power at port 4:');
+
+//(ii) Power reflected at port 3
+//Port 3
+p3=p*b(3,1)^2;
+disp('W',p3,'Power at port 3:');
+
+//(iii) Power absorbed
+pabs=p-(p1+p2+p3+p4);
+disp('W',pabs,'Power absorbed:');
+
+//Answer for power absorbed is calculated wrong in book