Ejercicio 19

Descargar como docx, pdf o txt
Descargar como docx, pdf o txt
Está en la página 1de 2

Ejercicio 19:

Considere la función f(x) = x3 – 2x + 4 en el intervalo [–2, 2] con h = 0.25. Use las


aproximaciones en diferencias finitas hacia adelante, hacia atrás y centrada para la primera
y segunda derivadas, e ilustre gráficamente qué aproximación es más exacta. Grafique las
tres aproximaciones a la primera derivada por diferencias finitas, junto con los valores
exactos, y haga lo mismo con la segunda derivada.

Resolución:
f''(x)- f''(x)- f''(x)- f''(x)-
f(x) f(x-1) f(x+1) f(x-2) f(x+2)
teoria anterior cent forw
0.00 -2.89 2.14 3.62 3.62 -12.00 150.50 -12.00 -10.50
2.14 0.00 3.62 -2.89 4.54 -10.50 -12.00 -10.50 -9.00
3.62 2.14 4.54 0.00 5.00 -9.00 -10.50 -9.00 -7.50
4.54 3.62 5.00 2.14 5.07 -7.50 -9.00 -7.50 -6.00
5.00 4.54 5.07 3.62 4.87 -6.00 -7.50 -6.00 -4.50
5.07 5.00 4.87 4.54 4.48 -4.50 -6.00 -4.50 -3.00
4.87 5.07 4.48 5.00 4.00 -3.00 -4.50 -3.00 -1.50
4.48 4.87 4.00 5.07 3.51 -1.50 -3.00 -1.50 0.00
4.00 4.48 3.51 4.87 3.12 0.00 -1.50 0.00 1.50
3.51 4.00 3.12 4.48 2.92 1.50 0.00 1.50 3.00
3.12 3.51 2.92 4.00 3.00 3.00 1.50 3.00 4.50
2.92 3.12 3.00 3.51 3.45 4.50 3.00 4.50 6.00
3.00 2.92 3.45 3.12 4.37 6.00 4.50 6.00 7.50
3.45 3.00 4.37 2.92 5.85 7.50 6.00 7.50 9.00
4.37 3.45 5.85 3.00 8.00 9.00 7.50 9.00 10.50
5.85 4.37 8.00 3.45 10.89 10.50 9.00 10.50 12.00
8.00 5.85 10.89 4.37 14.62 12.00 10.50 12.00 13.50
Grafico

200.00
150.00

f(x-
100.00 f''(x)- f''(x)- f''(x)- f''(x)-
f(x) f(x+1)
1)50.00 teoria anterior cent forw
- 0.00 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
0.00 -50.00 2.14 10.00 11.56 10.06 8.56
2.89
-100.00
2.14 0.00 3.62 7.18 8.56 7.25 5.93
3.62 2.14 4.54 4.75 5.93 4.81 3.68
4.54 3.62 5.00 2.68 3.68 2.75 1.81
5.00 4.54 5.07 1.00 1.81 1.06 0.31
5.07 5.00 4.87 -0.31 0.31 -0.25 -0.81
4.87 5.07 4.48 -1.25 -0.81 -1.18 -1.56
4.48 4.87 4.00 -1.81 -1.56 -1.75 -1.93
4.00 4.47 3.51 -2.00 -1.93 -1.93 -1.93
3.51 4.00 3.12 -1.81 -1.93 -1.75 -1.56
3.12 3.51 2.92 -1.25 -1.56 -1.18 -0.81
2.92 3.12 3.00 -0.31 -0.81 -0.25 0.31
3.00 2.92 3.45 1.00 0.31 1.06 1.81
3.45 3.00 4.37 2.68 1.81 2.75 3.68
4.37 3.45 5.85 4.75 3.68 4.81 5.93
5.85 4.37 8.00 7.18 5.93 7.25 8.56
8.00 5.85 10.89 10.00 8.56 10.06 11.56

También podría gustarte

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy