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.5.7/1_5_7.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.5.7/1_5_7.sce')
-rwxr-xr-x | 26/CH1/EX1.5.7/1_5_7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/26/CH1/EX1.5.7/1_5_7.sce b/26/CH1/EX1.5.7/1_5_7.sce new file mode 100755 index 000000000..557147482 --- /dev/null +++ b/26/CH1/EX1.5.7/1_5_7.sce @@ -0,0 +1,12 @@ +disp('the augmented matrix is:')
+a=[1 3 -3 7 0;0 1 -4 5 0]
+disp(a)
+disp('R1=R1-3*R2')
+a(1,:)=a(1,:)-3*a(2,:)
+disp(a)
+disp('basic variables:x1 x2')
+disp('free variables:x3 x4')
+disp('x1=-9*x3+8*x4')
+disp('x2=4*x3-5*x4')
+disp('hence, solution is')
+disp('[-9*x3+8*x4 4*x3-5*x4 x3 x4]')
\ No newline at end of file |