diff options
Diffstat (limited to '1430/CH4/EX4.10')
-rw-r--r-- | 1430/CH4/EX4.10/exa4_10.sce | 16 | ||||
-rw-r--r-- | 1430/CH4/EX4.10/exa4_10.txt | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/1430/CH4/EX4.10/exa4_10.sce b/1430/CH4/EX4.10/exa4_10.sce new file mode 100644 index 000000000..1cdb677ea --- /dev/null +++ b/1430/CH4/EX4.10/exa4_10.sce @@ -0,0 +1,16 @@ +// Example 4.10
+// Mesh Analysis with a CCCS
+// By inspection of figure 4.34,we find the resistance matrix to be
+R=[10+4,-4;-4,4+7+3];
+// i_a= i_1-i_2
+//v_s=[6;(-24*i_1+24*i_2)]
+//v_s=[6;0]+[0,0;-24,24]*[i_1;i_2] -------equation 1
+// Comparing Equation 1 with , [v_s]=[v_s_tilda]+[R_tilda]*[i]
+v_s_tilda=[6;0];
+R_tilda=[0,0;-24,24];
+// using Equation [R-R_tilda]*[i]=[v_s_tilda]
+i=(R-R_tilda)\v_s_tilda;
+i_1=i(1,1);
+i_2=i(2,1);
+disp(i_1,"Current in Mesh 1(in Amps)=")
+disp(i_2,"Current in Mesh 2(in Amps)=")
diff --git a/1430/CH4/EX4.10/exa4_10.txt b/1430/CH4/EX4.10/exa4_10.txt new file mode 100644 index 000000000..31e054b52 --- /dev/null +++ b/1430/CH4/EX4.10/exa4_10.txt @@ -0,0 +1,11 @@ +
+-->exec('C:\Users\sangeet\Documents\Scilab\Circuits\Chapter 4\exa4.10.sce', -1)
+
+ Current in Mesh 1(in Amps)=
+
+ 1.
+
+ Current in Mesh 2(in Amps)=
+
+ 2.
+
|