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 --- 1523/CH11/EX11.27/ex11_27.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1523/CH11/EX11.27/ex11_27.sce (limited to '1523/CH11/EX11.27') diff --git a/1523/CH11/EX11.27/ex11_27.sce b/1523/CH11/EX11.27/ex11_27.sce new file mode 100755 index 000000000..d2269ae4f --- /dev/null +++ b/1523/CH11/EX11.27/ex11_27.sce @@ -0,0 +1,19 @@ +//Two-Port Networks : example 11.27 :(pg11.58) +printf("\nApplying KCL to Node 1 \nI1 = 4V1 - 3V2- - -(i)"); +printf("\nApplying KCL to Node 2 \nI2 = -3V1 + 1.5V2 - - - -(ii)"); +//observing (i) & (ii) +printf("\nY-parameters:"); +a=4;b=(-3);c=(-3);d=1.5; +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 = %.f Ohm",Z11); +printf("\nZ12 = -Y12/dY = %.f 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 -- cgit