diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1430/CH4/EX4.4/exa4_4.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1430/CH4/EX4.4/exa4_4.sce')
-rw-r--r-- | 1430/CH4/EX4.4/exa4_4.sce | 22 |
1 files changed, 22 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)=")
|