summaryrefslogtreecommitdiff
path: root/75/CH9/EX9.8/ex_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /75/CH9/EX9.8/ex_8.sce
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 '75/CH9/EX9.8/ex_8.sce')
-rwxr-xr-x75/CH9/EX9.8/ex_8.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/75/CH9/EX9.8/ex_8.sce b/75/CH9/EX9.8/ex_8.sce
new file mode 100755
index 000000000..25013bc14
--- /dev/null
+++ b/75/CH9/EX9.8/ex_8.sce
@@ -0,0 +1,17 @@
+ // PG (608)
+
+A = [1 2 3;2 3 4;3 4 5]
+lam = spec(A)' // Eigen values of A
+lam1 = lam(1,3)
+lam2 = lam(1,1)
+lam3 = lam(1,2)
+
+// Theoretical ratio of convergence
+
+lam2/lam1
+
+// After extrapolating, we get
+ lame1 = 9.6234814
+
+// Error:
+lam1-lame1 \ No newline at end of file