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 --- 27/CH5/EX5.2.1/Example_5_2_1.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 27/CH5/EX5.2.1/Example_5_2_1.sce (limited to '27/CH5/EX5.2.1/Example_5_2_1.sce') diff --git a/27/CH5/EX5.2.1/Example_5_2_1.sce b/27/CH5/EX5.2.1/Example_5_2_1.sce new file mode 100755 index 000000000..c0d8245f0 --- /dev/null +++ b/27/CH5/EX5.2.1/Example_5_2_1.sce @@ -0,0 +1,16 @@ +clear; +clc; +close; + +//Get the corresponding matrix equation. + +A = [1 1;4 -2] + +[R,E]=spec(A) + +//where E corresponds to eigen values +//And R corresponds to eigen vectors. + +//Note that 0.9701425 = -4*0.2425356 +//And we can assume 0.7071068 to be 1. + -- cgit