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 /50/CH4/EX4.20/ex_4_20.sce | |
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 '50/CH4/EX4.20/ex_4_20.sce')
-rwxr-xr-x | 50/CH4/EX4.20/ex_4_20.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/50/CH4/EX4.20/ex_4_20.sce b/50/CH4/EX4.20/ex_4_20.sce new file mode 100755 index 000000000..77cba39f6 --- /dev/null +++ b/50/CH4/EX4.20/ex_4_20.sce @@ -0,0 +1,14 @@ +// example 4.20;
+// hermite interpolation:
+
+x=[-1 0 1];
+
+f=[1 1 3];
+
+fp=[-5 1 7];
+
+ P= hermiteinterpol(x,f,fp);
+
+// hence;
+disp('f(-0.5)=3/8');
+disp('f(0.5)=11/8');
\ No newline at end of file |