diff options
Diffstat (limited to '26/CH1/EX1.4.13/1_4_13.sce')
-rwxr-xr-x | 26/CH1/EX1.4.13/1_4_13.sce | 15 |
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 |