Metodos de Intervalo
Metodos de Intervalo
Metodos de Intervalo
Ejercicio 1
2
f ( x l ) =−0.5 ( 6 ) +2.5(6)+ 4.5
f ( x l ) =−18+15+ 4.5
f ( x l ) =1.5
2
f ( x u ) =−0.5 ( 7 ) +2.5(7)+ 4.5
f ( x u ) =−0.5(49)+17.5+ 4.5
f ( x u ) =−24.5+17.5+ 4.5
f ( x u ) =−2.5
f ( xu ) ( xl −xu )
Sustituimos valores en la formula x r=x u −
f ( xl ) −f ( xu )
f ( x r )=−0.5 (40.640625)+15.9375+4.5
f ( x r )=−20.3203125+15.9375+ 4.5
f ( x r )=−20.3203125+15.9375+ 4.5
f ( x r )=0.1171875
Multiplicamos f ( x l ) por f ( x r )
Iteración 2
x l=6.375 f ( x l ) =0.1171875
x u=7 f ( x u ) =−2.5
f ( xu ) ( xl −xu )
sustituimos los valores en la formula x r=x u −
f ( xl ) −f ( xu )
2
f ( x r )=−0.5 ( 6.40299 ) +2.5(6.40299)+ 4.5
f ( x r )=−0.5 (40.99828)+16.007475+4.5
f ( x r )=−20.49914 +16.007475+4.5
f ( x r )=0.008335
Multiplicamos f ( x l ) por f ( x r )
x l=6.40299 f ( x l ) =0.008335
x u=7 f ( x u ) =−2.5
f ( xu ) ( xl −xu )
sustituimos los valores en la formula x r=x u −
f ( xl ) −f ( xu )
Ejercicio 2
667.38
f ( c) = ( 1−e−0.146843 c ) −40 con x l=12 y x u=16
c
f ( xu ) ( xl −xu )
x r=x u −
f ( xl ) −f ( xu )
Iteración 1:
Evaluamos x l en la función
667.38
f ( xl )= ( 1−e−0.146843 (12) )−40
12
667.38
f ( xl )= ( 1−e−1.762116 )−40
12
f ( x l ) =46.066961−40
f ( x l ) =6.066961
f ( x l ) =6.0669
Ahora evaluamos x u
667.38
f ( c) = ( 1−e−0.146843 (16) )−40
16
f ( x u ) =−2.268755
f ( x u ) =−2.2687
f ( xu ) ( xl −xu )
Evaluamos los valores en la formula x r=x u −
f ( xl ) −f ( xu )
−2.2687(12−16)
x r=16− =14.9113
6.0669−(−2.2687 )
667.38
f ( x r )= ( 1−e−0.146843(14.9113) )−40
14.9113
667.38
f ( x r )= ( 1−e−0.146843(14.9113) )−40
14.9113
f ( x r )=39.745749−40
f ( x r )=−0.254251
Multiplicamos f ( x l ) por f ( x r )
f ( x l )∗f ( x r ) =6.0669 (−0.254251 )=−1.54251
x u=x r
Iteración 2
Ahora tenemos:
x l=12 f ( x l ) =6.0669
x u=14.9113 f ( x u ) =−0.2542
f ( xu ) ( xl −xu )
x r=x u −
f ( xl ) −f ( xu )
−0.2542 ( 12−14.9113 )
x r=14.9113− =14.7942
6.0669−(−0.2542 )
667.38
f ( c) = ( 1−e−0.146843 (14.7802) )−40=0
14.7802
Ejercicio 1
Usar el método de la secante para aproximar la raíz de la función f ( x )=x 3 +2 donde
x 0=2 y x 1=4
Sustituimos x 0 en la función
3
f ( x 0 ) =2 +2
f ( x 0 ) =8+2
f ( x 0 ) =10
3
f ( x 1 ) =4 + 2
f ( x 1 ) =64+2
f ( x 1 ) =66
x 0=2 f ( x 0 ) =10
x 1=4 f ( x 1 ) =66
f ( x i)( x i−1−x i)
Reemplazamos los valores en la fórmula x i+1=x i−
f ( xi −1 ) −f ( xi )
66( 2−4 )
x 2=4−
10−66
66(−2)
x 2=4−
−5 6
−132
x 2=4−
−5 6
x 2=4−2.35714
x 2=1. 6 428
f ( x 2 ) =1.64283+ 2
f ( x 2 ) =4.43358+2
f ( x 2 ) =6.43358
Reemplazamos en la formula
6 .433( 4−1.6428)
x 3=1.6428−
66−6 .433
6.433( 2.3572)
x 3=1.6428−
59.567
15. 1638
x 3=1.6428−
59.567
x 3=1.6428−0.254567
x 3=1.388
f ( x 3 ) =1.3883 +2
f ( x 3 ) =1.9265+2
f ( x 3 ) =3.9265