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 /149/CH2/EX2.45/ex45.sce | |
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 '149/CH2/EX2.45/ex45.sce')
-rwxr-xr-x | 149/CH2/EX2.45/ex45.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/149/CH2/EX2.45/ex45.sce b/149/CH2/EX2.45/ex45.sce new file mode 100755 index 000000000..95e3a1d2c --- /dev/null +++ b/149/CH2/EX2.45/ex45.sce @@ -0,0 +1,16 @@ +clear
+clc
+x=poly([0],'x')
+A=[1 4;2 3]
+I=eye(2,2)
+disp("eigen values of A are ")
+spec(A)
+disp("let ")
+a=-1;
+b=5;
+disp("hence,the characteristic equation is (x-a)(x-b) ")
+p=(x-a)*(x-b)
+disp("A^2-4*A-5*I=")
+A^2-4*A-5*I
+disp("inverse of A= ")
+inv(A)
\ No newline at end of file |