summaryrefslogtreecommitdiff
path: root/3673/CH2/EX2.11/Ex2_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH2/EX2.11/Ex2_11.sce')
-rw-r--r--3673/CH2/EX2.11/Ex2_11.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3673/CH2/EX2.11/Ex2_11.sce b/3673/CH2/EX2.11/Ex2_11.sce
new file mode 100644
index 000000000..189621cd8
--- /dev/null
+++ b/3673/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,10 @@
+//Example 2_11 page no:74
+clc
+//mesh equation for the circuit is
+I1=10;//current in ampere
+resistance=[5,-2;-2,3]
+volt=[20,10]
+current=inv(resistance)'*volt'//calculating current I1 I2 I3
+disp(I1,"the current I1 is (in ampere)")
+disp(current(1),"the current I2 is (in ampere)")
+disp(current(2),"the current I3 is (in ampere)")