summaryrefslogtreecommitdiff
path: root/1523/CH11/EX11.28/ex11_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '1523/CH11/EX11.28/ex11_28.sce')
-rwxr-xr-x1523/CH11/EX11.28/ex11_28.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1523/CH11/EX11.28/ex11_28.sce b/1523/CH11/EX11.28/ex11_28.sce
new file mode 100755
index 000000000..837720167
--- /dev/null
+++ b/1523/CH11/EX11.28/ex11_28.sce
@@ -0,0 +1,19 @@
+//Two-Port Networks : example 11.28 :(pg11.58 & 11.59)
+printf("\nApplying KCL to Node 1 \nI1 = 1.5V1 - 0.5V2- - -(i)");
+printf("\nApplying KCL to Node 2 \nI2 = 4V1 - 0.5V2 - - - -(ii)");
+//observing (i) & (ii)
+printf("\nY-parameters:");
+a=1.5;b=(-0.5);c=(4);d=(-0.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