Taller 2 Métodos Numéricos
Taller 2 Métodos Numéricos
Taller 2 Métodos Numéricos
1.1 Hacer las gráficas de f(x), P2,0(x) y de los errores relativo y absoluto
x f(x) P2,0 E.abs E.rel%
-0.25 0.0000 0.375 0.375 -
-0.2 0.4472 0.52 0.073 -16.28% Gráfica de f(x) = (
-0.15 0.6325 0.655 0.023 -3.56% Polinomio de Mac
-0.1 0.7746 0.78 0.005 -0.70% 3.0000
-0.05 0.8944 0.895 0.001 -0.06%
2.5000
0 1.0000 1 0.000 0.00%
0.05 1.0954 1.095 0.000 0.04% 2.0000
0.1 1.1832 1.18 0.003 0.27% 1.5000
0.15 1.2649 1.255 0.010 0.78%
1.0000
x
0.2 1.3416 1.32 0.022 1.61%
0.25 1.4142 1.375 0.039 2.77% 0.5000
0.3 1.4832 1.42 0.063 4.26%
0.0000
0.35 1.5492 1.455 0.094 6.08% 0 15 0.
3
-0.5000 0.
0.4 1.6125 1.48 0.132 8.21%
0.45 1.6733 1.495 0.178 10.66% -1.0000
0.5 1.7321 1.5 0.232 13.40%
0.55 1.7889 1.495 0.294 16.43%
0.6 1.8439 1.48 0.364 19.74%
0.65 1.8974 1.455 0.442 23.31%
0.7 1.9494 1.42 0.529 27.16%
0.75 2.0000 1.375 0.625 31.25% Gráfica del error
0.8 2.0494 1.32 0.729 35.59% linomio de
0.85 2.0976 1.255 0.843 40.17% 3.500
0.9 2.1448 1.18 0.965 44.98%
3.000
0.95 2.1909 1.095 1.096 50.02%
1 2.2361 1 1.236 55.28% 2.500
1.05 2.2804 0.895 1.385 60.75%
2.000
1.1 2.3238 0.78 1.544 66.43%
x
10.0000
8.0000
6.0000
16.0000
14.0000
12.0000
0 0.0000 0.0000 10.0000
0.05 0.0005 0.0001
8.0000
0.1 0.0040 0.0008
0.15 0.0135 0.0036 6.0000
0.2 0.0320 0.0104 4.0000
0.25 0.0625 0.0233
2.0000
0.3 0.1080 0.0448
0.35 0.1715 0.0773 0.0000
0 1 2 3 4 5 6 7 8
0.4 0.2560 0.1235 0. 0. 0. 0. 0. 0. 0. 0.
2.5000
2.0000
1.5000
1.0000
x
0.5000
0.0000
0 15 3 45 6 75 9 05 2 35 5
0. 0. 0. 0. 0. 0. 1. 1. 1. 1.
-0.5000
-1.0000
f(x) P2,0
3.000
2.500
2.000
x
1.500
1.000
0.500
0.000
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5
0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 1. 1.
E.abs E.rel%
ntervalo para γ?
´
Sea f(x) = (4x + 1)^1/2 y el polinomio de Maclaurin de orden 2, P2,0(x) = 1 + 2x -
1.1 Hacer las gráficas de f(x), P2,0(x) y de los errores relativo y absoluto.
x f(x) P2,0 E.abs E.rel%
-0.25 0.0000 0.375 0.375 -
-0.2 0.4472 0.52 0.073 -16.28% Gráfica de f(x) = (4x +
-0.15 0.6325 0.655 0.023 -3.56% Polinomio de Maclaur
-0.1 0.7746 0.78 0.005 -0.70% 3.0000
-0.05 0.8944 0.895 0.001 -0.06%
2.5000
0 1.0000 1 0.000 0.00%
0.05 1.0954 1.095 0.000 0.04% 2.0000
0.1 1.1832 1.18 0.003 0.27% 1.5000
0.15 1.2649 1.255 0.010 0.78%
1.0000
x
0.2 1.3416 1.32 0.022 1.61%
0.25 1.4142 1.375 0.039 2.77% 0.5000
0.3 1.4832 1.42 0.063 4.26%
0.0000
0.35 1.5492 1.455 0.094 6.08% 0 15 0.
3 45
-0.5000 0. 0.
0.4 1.6125 1.48 0.132 8.21%
0.45 1.6733 1.495 0.178 10.66% -1.0000
0.5 1.7321 1.5 0.232 13.40%
0.55 1.7889 1.495 0.294 16.43% f(x)
0.6 1.8439 1.48 0.364 19.74%
0.65 1.8974 1.455 0.442 23.31%
0.7 1.9494 1.42 0.529 27.16%
0.75 2.0000 1.375 0.625 31.25% Gráfica del error abso
0.8 2.0494 1.32 0.729 35.59% linomio de Mac
0.85 2.0976 1.255 0.843 40.17% 3.500
0.9 2.1448 1.18 0.965 44.98%
3.000
0.95 2.1909 1.095 1.096 50.02%
1 2.2361 1 1.236 55.28% 2.500
1.05 2.2804 0.895 1.385 60.75%
2.000
1.1 2.3238 0.78 1.544 66.43%
x
12.0000
10.0000
Gráfico del residuo R2,0(x)
16.0000
2.5000
2.0000
1.5000
1.0000
x
0.5000
0.0000
0 15 3 45 6 75 9 05 2 35 5
0. 0. 0. 0. 0. 0. 1. 1. 1. 1.
-0.5000
-1.0000
f(x) P2,0
3.000
2.500
2.000
x
1.500
1.000
0.500
0.000
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5
0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 1. 1.
E.abs E.rel%
intervalo para γ?
4 5 6 7 8 9 1 1 2 3 4 5
0. 0. 0. 0. 0. 0. 1. 1. 1. 1. 1.