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 /1332/CH11/EX11.8 | |
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 '1332/CH11/EX11.8')
-rwxr-xr-x | 1332/CH11/EX11.8/11_8.pdf | bin | 0 -> 6113 bytes | |||
-rwxr-xr-x | 1332/CH11/EX11.8/11_8.sce | 16 |
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 Binary files differnew file mode 100755 index 000000000..03ccb3fcd --- /dev/null +++ b/1332/CH11/EX11.8/11_8.pdf 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
|