summaryrefslogtreecommitdiff
path: root/1430/CH14/EX14.1
diff options
context:
space:
mode:
Diffstat (limited to '1430/CH14/EX14.1')
-rw-r--r--1430/CH14/EX14.1/exa14_1.sce25
-rw-r--r--1430/CH14/EX14.1/exa14_1.txt15
2 files changed, 40 insertions, 0 deletions
diff --git a/1430/CH14/EX14.1/exa14_1.sce b/1430/CH14/EX14.1/exa14_1.sce
new file mode 100644
index 000000000..db0c51e2a
--- /dev/null
+++ b/1430/CH14/EX14.1/exa14_1.sce
@@ -0,0 +1,25 @@
+// Example 14.1
+// From figure 14.7(a)
+// Let us assume some Values to R's and C for illustration purpose
+R=5;
+C=0.1*10^-6;
+s=%s;
+// Conductance matrix from figure 14.7(b)
+Y_11=s*C+1/R;
+Y_12=-s*C;
+Y_21=Y_12;
+Y_22=Y_11;
+Y=[Y_11,Y_12;Y_21,Y_22];
+delta=det(Y);
+// Solving matrix equation
+// Y*[V_1;V_2]=[I_1;I_2]
+// On application of Cramer's Rule we get
+// V_1=(Y_22/delta)*I_1-(Y_12/delta)*I_2 ----equqtion(1)
+//V_2=-(Y_21/delta)*I_1+(Y_11/delta)*I_2 ----equation(2)
+// comparing above equations with z-parameter matrix equation
+z_11=Y_11/delta;
+z_22=z_11;
+z_12=-Y_12/delta;
+z_21=z_12;
+Z=[z_11,z_12;z_21,z_22];
+disp(Z,"Z-Parameters=")
diff --git a/1430/CH14/EX14.1/exa14_1.txt b/1430/CH14/EX14.1/exa14_1.txt
new file mode 100644
index 000000000..be7439385
--- /dev/null
+++ b/1430/CH14/EX14.1/exa14_1.txt
@@ -0,0 +1,15 @@
+
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 14\exa14_1.sce', -1)
+
+ Z-Parameters=
+
+ 0.2 + 1.000D-07s 1.000D-07s
+ ---------------- ----------------
+ 0.04 + 4.000D-08s 0.04 + 4.000D-08s
+
+ 1.000D-07s 0.2 + 1.000D-07s
+ ---------------- ----------------
+ 0.04 + 4.000D-08s 0.04 + 4.000D-08s
+
+