diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3293/CH5/EX5.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3293/CH5/EX5.7')
-rwxr-xr-x | 3293/CH5/EX5.7/Ex5_7.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3293/CH5/EX5.7/Ex5_7.sce b/3293/CH5/EX5.7/Ex5_7.sce new file mode 100755 index 000000000..bd180d6e1 --- /dev/null +++ b/3293/CH5/EX5.7/Ex5_7.sce @@ -0,0 +1,19 @@ +//page 160
+//Example 5.7
+clc;
+clear;
+close;
+x = poly(0,"x");
+A = [x^2+x x+1;x-1 1];
+B = [x^2-1 x+2;x^2-2*x+3 x];
+disp(A,'A = ');
+disp(B,'B = ');
+disp(det(A),'det A = ');
+disp(det(B),'det B = ');
+disp('Thus, A is not invertible over K whereas B is invertible');
+disp(inv(A)*det(A),'adj A = ');
+disp(inv(B)*det(B),'adj B = ');
+disp('(adj A)A = (x+1)I');
+disp('(adj B)B = -6I');
+disp(inv(B),'B inverse = ');
+//end
|