diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /269/CH3/EX3.14 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '269/CH3/EX3.14')
-rw-r--r-- | 269/CH3/EX3.14/ex14.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/269/CH3/EX3.14/ex14.sce b/269/CH3/EX3.14/ex14.sce new file mode 100644 index 000000000..181b9fd41 --- /dev/null +++ b/269/CH3/EX3.14/ex14.sce @@ -0,0 +1,24 @@ +disp("chapter3")
+disp("example 14 ")
+disp("given")
+disp("the equations given are=")
+disp("5i1-2i2-3i3=10")
+disp("-2i1+4i2-i3=0")
+disp("-3i1-i2+6i3=0")
+a=[5 -2 -3; -2 4 -1; -3 -1 6] //matrix
+y=det(a)
+b=[10 -2 -3; 0 4 -1 ;0 -1 6] //matrix for i1 calculation (cramers rule)
+w=det(b)
+i1=w/y
+disp("current i1=")
+disp(i1)
+c=[5 10 -3;-2 0 -1; -3 0 6] //cramers rule
+x=det(c)
+i2=x/y
+disp("current i2=")
+disp(i2)
+d=[5 -2 10; -2 4 0; -3 -1 0]
+z=det(d)
+i3=z/y
+disp("current i3=")
+disp(i3)
\ No newline at end of file |