summaryrefslogtreecommitdiff
path: root/Working_Examples/293/CH7/EX7.11/eg7_11.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/293/CH7/EX7.11/eg7_11.sce')
-rwxr-xr-xWorking_Examples/293/CH7/EX7.11/eg7_11.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/Working_Examples/293/CH7/EX7.11/eg7_11.sce b/Working_Examples/293/CH7/EX7.11/eg7_11.sce
new file mode 100755
index 0000000..8a4f15a
--- /dev/null
+++ b/Working_Examples/293/CH7/EX7.11/eg7_11.sce
@@ -0,0 +1,14 @@
+V1 = complex(10);
+V2 = complex(10*cos(-%pi/3),10*sin(-%pi/3));
+Z1 = complex(1,1);
+Z2 = complex(1,-1);
+Z3 = complex(1,2);
+
+Zth = Z3 + (Z1*Z2/(Z1+Z2)); // thevinin resistance
+
+I = (V1 - V2)/(Z1 + Z2); // current flowing through the circuit when R3 is not connected
+Vth = V1 - I*Z1; //thevinin voltage
+
+Ibr = Vth/Zth; //current flowing through Z3
+
+disp(Ibr,"current flowing through Z3 = ") \ No newline at end of file