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 /243/CH6/EX6.15 | |
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 '243/CH6/EX6.15')
-rwxr-xr-x | 243/CH6/EX6.15/6_15.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/243/CH6/EX6.15/6_15.sce b/243/CH6/EX6.15/6_15.sce new file mode 100755 index 000000000..097503f8e --- /dev/null +++ b/243/CH6/EX6.15/6_15.sce @@ -0,0 +1,12 @@ +//Example No. 6_15
+//Synthetic Division
+//Pg No. 176
+clear ; close ; clc ;
+
+a = [-9 15 -7 1];
+b(4) = 0 ;
+for i = 3:-1:1
+ b(i) = a(i+1) + b(i+1)*3
+ printf('b%i = %f\n',i,b(i))
+end
+ disp(poly(b,'x','c'),'Thus the polynomial is')
\ No newline at end of file |