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.5.1/1_5_1.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 26/CH1/EX1.5.1/1_5_1.sce (limited to '26/CH1/EX1.5.1/1_5_1.sce') diff --git a/26/CH1/EX1.5.1/1_5_1.sce b/26/CH1/EX1.5.1/1_5_1.sce new file mode 100755 index 000000000..943043ee1 --- /dev/null +++ b/26/CH1/EX1.5.1/1_5_1.sce @@ -0,0 +1,12 @@ +disp('the augmented matrix is:') +a=[2 -5 8 0;-2 -7 1 0;4 2 7 0] +disp(a) +disp('R2=R2+2*R1 and R3=R3-2*R1') +a(2,:)=a(2,:)+a(1,:) +a(3,:)=a(3,:)-2*a(1,:) +disp(a) +disp('R3=R3+R2') +a(3,:)=a(3,:)+a(2,:) +disp(a) +disp('only two columns have non zero pivots') +disp('hence, one column is a free column and therefore there exists a non trivial solution') \ No newline at end of file -- cgit