15.05.2013 Views

Cálculo Numérico - Engenharia Civil UEM

Cálculo Numérico - Engenharia Civil UEM

Cálculo Numérico - Engenharia Civil UEM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CAPÍTULO 10. APROXIMAÇÃO DE FUNÇÕES: MÉTODOS DE INTERPOLAÇÃO POLINOMIAL302<br />

onde ξ ∈ (x0, xn) .<br />

Mas (x − x0) (x − x1) . . . (x − xn) = 0 , pois os pontos tabelados são distintos, Assim comparando<br />

(10.28) com (10.29), segue que:<br />

Portanto:<br />

f [x0, x1, . . . , xn, x] = f (n+1) (ξ)<br />

(n + 1)!<br />

; ξ ∈ (x0, xn) .<br />

Pn(x) = f (x0) + (x − x0) f [x0, x1] + (x − x0) (x − x1) f [x0, x1, x2]<br />

+ . . . + (x − x0) (x − x1) . . . (x − xn−1) f [x0, x1, . . . , xn] = {. . .}1 ,<br />

chama-se Forma de Newton do Polinômio de Interpolação ou Fórmula de Newton, e<br />

Rn(x) = (x − x0) (x − x1) . . . (x − xn) f [x0, x1, . . . , xn, x] = {. . .}2 ,<br />

chama-se termo do resto ou erro de truncamento.<br />

Observe que o tratamento do erro de truncamento é, portanto, o mesmo da forma de Lagrange.<br />

Exemplo 10.9 - Conhecendo-se a seguinte tabela:<br />

x −1 0 3<br />

f(x) 15 8 −1<br />

calcular f(1), usando polinômio de interpolação de Newton.<br />

Solução: Temos:<br />

x0 = −1 , f0 = f (x0) = 15 ,<br />

x1 = 0 , f1 = f (x1) = 8 ,<br />

x2 = 3 , f2 = f (x2) = −1 ,<br />

e portanto n = 2. Assim o polinômio de interpolaçào na forma de Newton é dado por::<br />

P2(x) = f [x0] + (x − x0) f [x0, x1] + (x − x0) (x − x1) f [x0, x1, x2] .<br />

Em primeiro lugar, construímos a tabela de diferenças divididas. Assim:<br />

x f(x)<br />

-1 15<br />

-7<br />

0 8 1<br />

-3<br />

3 -1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!