summaryrefslogtreecommitdiff
path: root/3673/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3673/CH2/EX2.8/Ex2_8.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3673/CH2/EX2.8/Ex2_8.sce b/3673/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..79465d56a
--- /dev/null
+++ b/3673/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,9 @@
+//Example 2_8 page no:69
+clc
+//mesh equations for the cirucuit is
+resistance=[18,5,-3;5,8,1;-3,1,4]
+volt=[50,10,-5]
+current=inv(resistance)'*volt'//calculating current I1 I2 I3
+disp(current(1),"the mesh current I1 in the circuit are (in ampere)")
+disp(current(2),"the mesh current I2 in the circuit are (in ampere)")
+disp(current(3),"the mesh current I3 in the circuit are (in ampere)")