summaryrefslogtreecommitdiff
path: root/26/CH1/EX1.4.13/1_4_13.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /26/CH1/EX1.4.13/1_4_13.sce
downloadScilab-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.4.13/1_4_13.sce')
-rwxr-xr-x26/CH1/EX1.4.13/1_4_13.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/26/CH1/EX1.4.13/1_4_13.sce b/26/CH1/EX1.4.13/1_4_13.sce
new file mode 100755
index 000000000..1b54d3d16
--- /dev/null
+++ b/26/CH1/EX1.4.13/1_4_13.sce
@@ -0,0 +1,15 @@
+disp('the augmented matrix is:')
+a=[3 -5 0;-2 6 4;1 1 4]
+disp(a)
+disp('interchange R1 and R3')
+a([1,3],:)=a([3,1],:)
+disp(a)
+disp('R2=R2+2*R1 and R3=R3-3*R1')
+a(2,:)=a(2,:)+2*a(1,:)
+a(3,:)=a(3,:)-3*a(1,:)
+disp(a)
+disp('R3=R3+R2')
+a(3,:)=a(3,:)+a(2,:)
+disp(a)
+disp('from the entries of last row, the system is consistent')
+disp('hence, u is in the plane spanned by the columns of a') \ No newline at end of file