summaryrefslogtreecommitdiff
path: root/1523/CH11/EX11.29
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1523/CH11/EX11.29
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 '1523/CH11/EX11.29')
-rwxr-xr-x1523/CH11/EX11.29/ex11_29.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1523/CH11/EX11.29/ex11_29.sce b/1523/CH11/EX11.29/ex11_29.sce
new file mode 100755
index 000000000..1d3c44592
--- /dev/null
+++ b/1523/CH11/EX11.29/ex11_29.sce
@@ -0,0 +1,21 @@
+//Two-Port Networks : example 11.29 :(pg11.59 & 11.60)
+printf("\nApplying KCL to Node 1 \nI1 = 3V1 - 2V2- - -(i)");
+printf("\nApplying KCL to Node 2 \nI2 = 3V2 - V3 - - - -(ii)");
+printf("\nApplying KCL to Node 3 \nV3 = (1/3)V2 - - - -(ii)");
+//substituting (iii) in (i) & (ii),we get
+printf("\nI1 = 3V1 - (2/3)V2 \nI2 = 0V1 + (8/3)V2");
+printf("\nY-parameters:");
+a=3;b=(-2/3);c=(0);d=(8/3);
+disp([a b;c d]);
+dY=((a*d)-(b*c));
+Z11=(d/dY);
+Z12=(-b/dY);
+Z21=(c/dY);
+Z22=(a/dY);
+printf("\ndY=Y11.Y22-Y12.Y21 =%.f",dY);
+printf("\nZ11 = Y22/dY = %.1f Ohm",Z11);
+printf("\nZ12 = -Y12/dY = %.1f Ohm",Z12);
+printf("\nZ21 = -Y21/-dY = %.f Ohm",Z21);
+printf("\nZ22 = Y11/dY = %.1f Ohm",Z22);
+printf("\nZ-parameters :");
+disp([Z11 Z12;Z21 Z22]); \ No newline at end of file