summaryrefslogtreecommitdiff
path: root/1332/CH11/EX11.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1332/CH11/EX11.8
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 '1332/CH11/EX11.8')
-rwxr-xr-x1332/CH11/EX11.8/11_8.pdfbin0 -> 6113 bytes
-rwxr-xr-x1332/CH11/EX11.8/11_8.sce16
2 files changed, 16 insertions, 0 deletions
diff --git a/1332/CH11/EX11.8/11_8.pdf b/1332/CH11/EX11.8/11_8.pdf
new file mode 100755
index 000000000..03ccb3fcd
--- /dev/null
+++ b/1332/CH11/EX11.8/11_8.pdf
Binary files differ
diff --git a/1332/CH11/EX11.8/11_8.sce b/1332/CH11/EX11.8/11_8.sce
new file mode 100755
index 000000000..d366036b9
--- /dev/null
+++ b/1332/CH11/EX11.8/11_8.sce
@@ -0,0 +1,16 @@
+//Example 11.8
+//Recursive Formula
+//Page no. 357
+clc;close;clear;
+
+A=[2,-1,0,0;-1,2,-1,0;0,-1,2,-1;0,0,-1,2];
+l=poly(0,"l");
+p0=1;
+p1=A(1,1)-l;
+for i=2:4
+ p2=(A(i,i)-l)*p1-A(i,i-1)^2*p0;
+ p0=p1;
+ p1=p2;
+ printf('\n\np%i(l) = ',i);
+ disp(p2)
+end