summaryrefslogtreecommitdiff
path: root/26/CH1/EX1.3.11/1_3_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '26/CH1/EX1.3.11/1_3_11.sce')
-rwxr-xr-x26/CH1/EX1.3.11/1_3_11.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/26/CH1/EX1.3.11/1_3_11.sce b/26/CH1/EX1.3.11/1_3_11.sce
new file mode 100755
index 000000000..10b4d51a6
--- /dev/null
+++ b/26/CH1/EX1.3.11/1_3_11.sce
@@ -0,0 +1,17 @@
+disp('vectors a1 a2 a3 are:')
+a1=[1 0 -2]
+disp(a1')
+a2=[-4 3 8]
+disp(a2')
+a3=[2 5 -4]
+disp(a3')
+disp('vector b=')
+b=[3 -7 -3]
+disp(b')
+disp('the augmented matrix is:')
+a=[1 -4 2 3;0 3 5 -7;-2 8 -4 -3]
+disp(a)
+a(3,:)=a(3,:)+2*a(1,:)
+disp(a)
+disp('from the entries of last row, the system is inconsistent')
+disp('hence, b is not a linear combination of a1 a2 and a3') \ No newline at end of file