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.11/1_5_11.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 26/CH1/EX1.5.11/1_5_11.sce (limited to '26/CH1/EX1.5.11/1_5_11.sce') diff --git a/26/CH1/EX1.5.11/1_5_11.sce b/26/CH1/EX1.5.11/1_5_11.sce new file mode 100755 index 000000000..5c8e0e0d2 --- /dev/null +++ b/26/CH1/EX1.5.11/1_5_11.sce @@ -0,0 +1,13 @@ +disp('the augmented matrix is') +a=[1 -4 -2 0 3 -5 0;0 0 1 0 0 -1 0;0 0 0 0 -1 4 0;0 0 0 0 0 0 0] +disp(a) +disp('R1=R1-3*R3') +a(1,:)=a(1,:)-3*a(3,:) +disp(a) +disp('R1=R1+2*R2') +a(1,:)=a(1,:)+2*a(2,:) +disp(a) +disp('the free variables are:x2, x4 and x6') +disp('the basic variables are:x1, x3 and x5') +disp('the solution is:') +disp('[4*x2-5*x6 x2 x6 x4 4*x6 x6]') \ No newline at end of file -- cgit