summaryrefslogtreecommitdiff
path: root/1523/CH11/EX11.19/ex11_19.sce
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.19/ex11_19.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 '1523/CH11/EX11.19/ex11_19.sce')
-rwxr-xr-x1523/CH11/EX11.19/ex11_19.sce64
1 files changed, 64 insertions, 0 deletions
diff --git a/1523/CH11/EX11.19/ex11_19.sce b/1523/CH11/EX11.19/ex11_19.sce
new file mode 100755
index 000000000..d0e8ee47d
--- /dev/null
+++ b/1523/CH11/EX11.19/ex11_19.sce
@@ -0,0 +1,64 @@
+//Two-Port Networks : example 11.19 :(pg11.49 & 11.50)
+Z11=20;
+Z22=30;
+Z12=10;
+Z21=10;
+dZ=((Z11*Z22)-(Z12*Z21));
+Y11=(Z22/dZ);
+Y12=(-Z12/dZ);
+Y21=(-Z21/dZ);
+Y22=(Z11/dZ);
+A=(Z11/Z21);
+B=(dZ/Z21);
+C=(1/Z21);
+D=(Z22/Z21);
+printf("\nY-parameters");
+printf("\nY11 = Z22/dZ = %.2f mho",Y11);
+printf("\nY12 = -Z12/dZ = %.2f mho",Y12);
+printf("\nY21 = -Z21/dZ = %.2f mho",Y21);
+printf("\nY22 = Z11/dZ = %.2f mho",Y22);
+printf("\n Y-parameters are:");
+disp([Y11 Y12;Y21 Y22]);//Y-parameters in matrix form
+printf("\nABCD parameters");
+printf("\nA = Z11/Z21 = %.f",A);
+printf("\nB = dZ/Z21 = %.f",B);
+printf("\nC = 1/Z21 = %.1f",C);
+printf("\nD = Z22/Z21 = %.f",D);
+printf("\n ABCD parameters are:");
+disp([A B;C D]);//ABCD parameters in matrix form
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+