summaryrefslogtreecommitdiff
path: root/26/CH5/EX5.1.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /26/CH5/EX5.1.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '26/CH5/EX5.1.1')
-rwxr-xr-x26/CH5/EX5.1.1/5_1_1.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/26/CH5/EX5.1.1/5_1_1.sce b/26/CH5/EX5.1.1/5_1_1.sce
new file mode 100755
index 000000000..4f00e19dd
--- /dev/null
+++ b/26/CH5/EX5.1.1/5_1_1.sce
@@ -0,0 +1,8 @@
+disp('to check if 2 is an eigenvalue of matrix A')
+a=[3 2;3 8]
+disp(a,'A=')
+disp('A-2I=')
+b=a-2*eye(2,2)
+disp(b)
+disp('The columns of A are clearly independent,')
+disp('hence (A-2I)x=0 has a non trivial solution and 2 is an eigenvalue of matrix A') \ No newline at end of file