diff options
Diffstat (limited to '75/CH3/EX3.3/ex_3.sce')
-rwxr-xr-x | 75/CH3/EX3.3/ex_3.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/75/CH3/EX3.3/ex_3.sce b/75/CH3/EX3.3/ex_3.sce new file mode 100755 index 000000000..801f9a7e3 --- /dev/null +++ b/75/CH3/EX3.3/ex_3.sce @@ -0,0 +1,10 @@ + // PG (137) + +X=[0,-1] +Y=[1,2] +deff('[y]=f(x)','y=log(x)') +deff('[y]=fp(x)','y=1/x') +deff('[y]=fpp(x)','y=-1/(x)^2') +p = lagrange(X,Y) +// E = f(x)-p +e = 0.00005 // for a four-place logarithmic table |