Está en la página 1de 2

Susana Stefania Villalba Zamudio Cod- 20171379037

Ejercicio 27 de junio

Use la fórmula de diferencias divididas interpolantes de Newton para aproximar la función f (x) =
Ln |x| en x = − 1/3, partiendo de los puntos x0 = −0,75, x1 = −0,5, x2 = −0,25 y x3 = 0. ¿Cuánto es el
error de aproximación? ¿Cuántas cifras significativas tiene de aproximación?

𝑓(−1/3) = −1,09861229
−0,69315 + 0,28768
𝑓(𝑥0, 𝑥1) = = −1,62186
−0,5 + 0,75
−2,772589 + 1,62186
𝑓(𝑥0, 𝑥1, 𝑥2) = = −2,301457
−0,25 + 0,75
3,696785 + −2,301457
𝑓(𝑥0, 𝑥1, 𝑥2, 𝑥3) = = 5,99824
0,25 + 0,75

Xi F(xi) Primera Segunda Tercera


-0,75 -0,28768
-1,62186
-0,5 -0,69315 -2,301457
-2,772589 5,99824
-0,25 -1,38629 3,696785
0
0,25 -1,38629

P(x) = f [x0] + f [x0, x1] (x − x0) + f [x0, x1, x2] (x − x0) (x − x1) +
f [x0, x1, x2, x3] (x − x0) (x − x1) (x − x2)
𝑃(𝑥) = −0,28768 − 1,62186 ∗ (x + 0,75) − 2,301457(x + 0.75)(x + 0.5) + 5,99824(x +
0.75)(x + 0.5)((x + 0.25)
𝑃(𝑥) = −0,28768 − 1,62186x − 1.2209 + (−2,301457x − 1.72609)(x + 0.5) + (5,99824x +
4.49868)(x + 0.5)((x + 0.25)

𝑃(𝑥) = −0,28768 − 1,62186x − 1.2209 + (−2,301457𝑥 2 − 1.15073x − 1.72609x −


0.86305) + (5,99824𝑥 2 + 2.99912x + 4.49868x + 2.24934)(x + 0.25)
𝑃(𝑥) = −0,28768 − 1,62186x − 1.2209 − 2,301457𝑥 2 − 1.15073x − 1.72609x − 0.86305 +
(5,99824𝑥 2 + 2.99912x + 4.49868x + 2.24934)(x + 0.25)
𝑃(𝑥) = −0,28768 − 1,62186x − 1.2209 − 2,301457𝑥 2 − 1.15073x − 1.72609x − 0.86305 +
5,99824𝑥 3 + 2.99912𝑥 2 + 4.49868𝑥 2 + 2.24934𝑥 + 1.49956𝑥 2 + 0.74976x + 1.12467x +
0.56234

𝑃(𝑥) = 5,99824𝑥 3 + 6.6959𝑥 2 − 0.37491𝑥 − 1.80929


𝑃(−1/3) = −1,15799267
−1.09861229 + 1,15799267
𝐸𝑟𝑟𝑜𝑟 𝑟𝑒𝑙𝑎𝑡𝑖𝑣𝑜 = ∗ 100 = 5,405%
−1.09861229
La aproximación realizada tiene cero cifras significativas debido a que es mayor del 5%.

También podría gustarte