diff options
Diffstat (limited to '26/CH1/EX1.1.25/1_1_25.sce')
-rwxr-xr-x | 26/CH1/EX1.1.25/1_1_25.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/26/CH1/EX1.1.25/1_1_25.sce b/26/CH1/EX1.1.25/1_1_25.sce new file mode 100755 index 000000000..552d996fb --- /dev/null +++ b/26/CH1/EX1.1.25/1_1_25.sce @@ -0,0 +1,14 @@ +disp('the co-efficient matrix is:')
+a=[1 -4 7;0 3 -5;-2 5 -9]
+disp(a)
+disp('let g,h,k be the constants on RHS')
+disp('R3=R3+2*R1')
+a(3,:)=a(3,:)+2*a(1,:)
+disp(a)
+disp('the constants on RHS are:g,h,k+2g')
+disp('R3=R3+R2')
+a(3,:)=a(3,:)+a(2,:)
+disp(a)
+disp('the constants on RHS are:g,h,k+2g+h')
+disp('for solution to exist')
+disp('from R3:k+2g+h=0')
\ No newline at end of file |