Does anyone know how one can do this in maple? find Newton divided difference interpolation polynomial for the function cos2x the points {1, 0.6, 0.3, 0.1, 0}
Asked
Active
Viewed 1,292 times
2
-
are mikham javabe akhar sade beshe. – only math May 28 '13 at 19:39
-
age bekham ye evalf behehesh ezafe konam ke deghatesh beshe 4 ya 5 raghame ashar, koja bayad ezafe konam? – only math May 28 '13 at 19:40
-
tnx faghat az darso emtehane fardatoon ja namoonin! – only math May 28 '13 at 19:41
-
fek konam are . – only math May 28 '13 at 19:52
-
na dorost shod. mamnoon – only math May 28 '13 at 19:55
-
are javabe akhar bedas omad – only math May 28 '13 at 19:59
-
shabe shoma ham bekhair. emtehane khoobi dashte bashid va baz ham mamnoon – only math May 28 '13 at 20:05
-
manam koli proje maple behem ezafe shod!!!! alan daram say mikonam antegral giri adadi be raveshe gaus ro bezanam!!! – only math May 29 '13 at 16:31
-
che khoob :) vali man hanooz dargire tarife int be raveshe gausam! mohasebat adadia cheghad dardesar dare :| – only math May 29 '13 at 17:43
-
help narmafzar ke hamechio nadare! to cd ke dashtam amoozesho dare ama inaee ke mikham nist – only math May 29 '13 at 18:03
-
manzooram rahnamae cd nist! 11saat amoozeshe maple ro daram. tamame oon bakhshayi ke to pdfa hast ro dars mide. albate hanooz kamel nadidam – only math May 29 '13 at 18:28
-
tamoom shod vali nemidoonam moshkelesh kojas! javab mideha vali javabesh ba pasokhe tamrin motefavete – only math May 29 '13 at 19:22
-
javabo jaye 0.79 mizane 0.69 – only math May 29 '13 at 19:42
-
mohasebe adadi antegral be ravesh gaus bood javabi ke khode ketab dade boode be soal 0.79e vali narmafza0.69 – only math May 30 '13 at 15:47
-
na ketab ba khode formoolo rahhalesh rafte – only math May 30 '13 at 17:26
1 Answers
0
If this is homework then you could show what you've accomplished on your own already.
If you just need the result then you could try the Student:-NumericalAnalysis package. Eg,
L:=[0, 0.1, 0.3, 0.6, 1]:
p:=Student:-NumericalAnalysis:-PolynomialInterpolation(
[seq([x,cos(2*x)], x in L)],
method=newton):
Student:-NumericalAnalysis:-DividedDifferenceTable(p);
[ 1. 0 0 0 0]
[ ]
[ 0.9800665778 -0.1993342220 0 0 0]
[ ]
[ 0.8253356149 -0.7736548145 -1.914401975 0 0]
[ ]
[ 0.3623577545 -1.543259535 -1.539209441 0.6253208900 0]
[ ]
[-0.4161468365 -1.946261478 -0.5757170614 1.070547088 0.4452261980]
interpol:=Student:-NumericalAnalysis:-Interpolant(p,independentvar=x);
interpol := 1. - 0.1993342220 x - 1.914401975 x (x - 0.1)
+ 0.6253208900 x (x - 0.1) (x - 0.3)
+ 0.4452261980 x (x - 0.1) (x - 0.3) (x - 0.6)
plots:-dualaxisplot(plot([cos(2*x),interpol],x=0..1),
plot([cos(2*x)-interpol],x=0..1,legend=`abs. error`));

Programming questions on Maple are often better asked on stackoverflow, unless your central question is about the mathematics behind the algorithm.
acer
- 5,293