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.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 '50/CH4/EX4.8')
-rwxr-xr-x | 50/CH4/EX4.8/ex_4_8.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/50/CH4/EX4.8/ex_4_8.sce b/50/CH4/EX4.8/ex_4_8.sce new file mode 100755 index 000000000..6bfdd8e78 --- /dev/null +++ b/50/CH4/EX4.8/ex_4_8.sce @@ -0,0 +1,15 @@ +
+ // example 4.8
+ // caption: solution by quadratic interpolation;
+
+ // x-degrees:[10 20 30]
+ // hence x in radians is
+ x=[3.14/18 3.14/9 3.14/6];
+ f=[1.1585 1.2817 1.3660];
+ n=2;
+
+
+ P2=lagrangefundamentalpoly(x,f,n)
+
+ // hence from P2 ,the exact value of f(3.14/12) is 1.2246;
+ // where as exact value is 1.2247;
\ No newline at end of file |