From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 26/CH1/EX1.3.11/1_3_11.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 26/CH1/EX1.3.11/1_3_11.sce (limited to '26/CH1/EX1.3.11') 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 -- cgit