summaryrefslogtreecommitdiff
path: root/1430/CH4/EX4.11/exa4_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '1430/CH4/EX4.11/exa4_11.sce')
-rw-r--r--1430/CH4/EX4.11/exa4_11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1430/CH4/EX4.11/exa4_11.sce b/1430/CH4/EX4.11/exa4_11.sce
new file mode 100644
index 000000000..6a0b5f521
--- /dev/null
+++ b/1430/CH4/EX4.11/exa4_11.sce
@@ -0,0 +1,15 @@
+// Example 4.11
+// Mesh Analysis of a Current Amplifier
+R=[37 -1 0;-1 41 -4;0 -4 19]; // Resistance matrix
+//v_a=6*i_1 , v_b=4*(i_3-i_2)
+// [v_s]=[30*i_s;0;0]+[0 0 0;-864 0 0 ; 0 96 -96]*[i_1;i_2;i_3]
+i_s=10^-3; // Assumption
+R_tilda=[0 0 0;-864 0 0;0 96 -96];
+v_s_tilda=[30*i_s;0;0];
+// 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);
+i_3=i(3,1);
+A_i=i_3/i_s; // Gain Of Current Amplifier
+disp(A_i,"Gain of Current Amplifier is=")