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 --- 2048/CH11/EX11.2/recursion_ex1.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 2048/CH11/EX11.2/recursion_ex1.sce (limited to '2048/CH11/EX11.2') diff --git a/2048/CH11/EX11.2/recursion_ex1.sce b/2048/CH11/EX11.2/recursion_ex1.sce new file mode 100755 index 000000000..aca798303 --- /dev/null +++ b/2048/CH11/EX11.2/recursion_ex1.sce @@ -0,0 +1,12 @@ +// Recursive computation of Ej and Fj for the system presented in Example 11.2 on page 408. +// 11.2 + +exec('poladd.sci',-1); +exec('polsize.sci',-1); +exec('recursion.sci',-1); + +C = [1 0.5]; dC = 1; +A = [1 -0.6 -0.16]; dA = 2; +j = 2; +[Fj,dFj,Ej,dEj] = recursion(A,dA,C,dC,j) + -- cgit