diff options
Diffstat (limited to '1430/CH4/EX4.4')
-rw-r--r-- | 1430/CH4/EX4.4/exa4_4.sce | 22 | ||||
-rw-r--r-- | 1430/CH4/EX4.4/exa4_4.txt | 44 |
2 files changed, 66 insertions, 0 deletions
diff --git a/1430/CH4/EX4.4/exa4_4.sce b/1430/CH4/EX4.4/exa4_4.sce new file mode 100644 index 000000000..19e46e7f1 --- /dev/null +++ b/1430/CH4/EX4.4/exa4_4.sce @@ -0,0 +1,22 @@ +// Example 4.4
+// Matrix Node Analysis with source Conversion
+// From figure 4.11(a), The floating 48V source with series resistance has been converted into a current source with parallel resistance
+// From figure 4.11(b),
+G_11=1/4+1/2+1; // Sum of conductance at node 1
+G_12=1; // Equivalent conductance between node 1 & 2
+G_21=G_12; // Symmetry Property of Conductance matrix
+G_22=1/3+1+1/6; // Sum of conductance at node 2
+G=[G_11,-G_12;-G_21,G_22]; // Conductance Matrix
+i_s11=-24/4; // Equivalent source current at node 1
+i_s21=15/3+(-24)/6+48/6;// Equivalent source current at node 2
+i_s=[i_s11;i_s21]; // Current Matrix
+// Using Matrix Node Equation
+// G*v=i
+v=G\i_s;
+v_1=v(1,1);
+v_2=v(2,1);
+i_a=(15-v_2)/(3*10^3);// Current through 3-kOhm resistor
+i_b=-v_1/(2*10^3); // Current through 2-kOhm resistor
+disp(v_1,v_2)
+disp(i_a,"Current through 3-kOhm resistor(in Amps)=")
+disp(i_b,"Current through 2-kOhm resistor(in Amps)=")
diff --git a/1430/CH4/EX4.4/exa4_4.txt b/1430/CH4/EX4.4/exa4_4.txt new file mode 100644 index 000000000..a1e32e7a1 --- /dev/null +++ b/1430/CH4/EX4.4/exa4_4.txt @@ -0,0 +1,44 @@ + ans =
+
+ 1.
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 4\exa4.4.sce', -1)
+
+ Current through 3-kOhm resistor(in Amps)=
+
+ 0.0005385
+
+ Current through 2-kOhm resistor(in Amps)=
+
+ 0.0055385
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 4\exa4.4.sce', -1)
+
+ 13.384615
+
+ - 11.076923
+
+ Current through 3-kOhm resistor(in Amps)=
+
+ 0.0005385
+
+ Current through 2-kOhm resistor(in Amps)=
+
+ 0.0055385
+
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 4\exa4.4.sce', -1)
+
+ 6.
+
+ - 5.075D-16
+
+ Current through 3-kOhm resistor(in Amps)=
+
+ 0.003
+
+ Current through 2-kOhm resistor(in Amps)=
+
+ 2.538D-19
+
+-->exit
+-->exec('SCI/etc/scilab.quit','errcatch',-1);quit;
|