diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /26/CH1/EX1.1.25/1_1_25.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '26/CH1/EX1.1.25/1_1_25.sce')
-rwxr-xr-x | 26/CH1/EX1.1.25/1_1_25.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/26/CH1/EX1.1.25/1_1_25.sce b/26/CH1/EX1.1.25/1_1_25.sce new file mode 100755 index 000000000..552d996fb --- /dev/null +++ b/26/CH1/EX1.1.25/1_1_25.sce @@ -0,0 +1,14 @@ +disp('the co-efficient matrix is:')
+a=[1 -4 7;0 3 -5;-2 5 -9]
+disp(a)
+disp('let g,h,k be the constants on RHS')
+disp('R3=R3+2*R1')
+a(3,:)=a(3,:)+2*a(1,:)
+disp(a)
+disp('the constants on RHS are:g,h,k+2g')
+disp('R3=R3+R2')
+a(3,:)=a(3,:)+a(2,:)
+disp(a)
+disp('the constants on RHS are:g,h,k+2g+h')
+disp('for solution to exist')
+disp('from R3:k+2g+h=0')
\ No newline at end of file |