Actividad 4
Actividad 4
Actividad 4
Carrera: MECATRONICA
𝑓(𝑥) = 𝑥 3 − 7𝑥 2 + 14𝑥 − 6 a
Método de bisección
a) 𝑥𝑖 = 0 𝑥𝑠 = 1 𝜀𝑟 ≤ 0.1%
INT Xi Xr Xs F(Xi) F(Xr) F(Xs) Er(%)
0 0 0.5 1 -6 -0.625 2 --------
1 0.5 0.75 1 -0.625 0.984375 2 33.33%
2 0.5 0.625 0.75 -0.625 0.259765625 0.984375 20.00%
3 0.5 0.5625 0.625 -0.625 -0.161865234 0.259765625 11.11%
4 0.5625 0.59375 0.625 -0.161865234 0.054046631 0.259765625 5.26%
5 0.5625 0.578125 0.59375 -0.161865234 -0.052623749 0.054046631 2.70%
6 0.578125 0.5859375 0.59375 -0.052623749 0.001031399 0.054046631 1.33%
7 0.578125 0.58203125 0.5859375 -0.052623749 -0.025716007 0.001031399 0.67%
8 0.58203125 0.583984375 0.5859375 -0.025716007 -0.012322284 0.001031399 0.33%
9 0.583984375 0.584960938 0.5859375 -0.012322284 -0.005640441 0.001031399 0.17%
10 0.584960938 0.585449219 0.5859375 -0.005640437 -0.002303269 0.001031399 0.08%
11 0.585449219 0.58569336 0.5859375 -0.002303269 -0.000635623 0.001031399 0.04%
12 0.58569336 0.58581543 0.5859375 -0.000635619 0.000197968 0.001031399 0.02%
13 0.58569336 0.585754395 0.58581543 -0.000635619 -0.000218806 0.000197968 0.01%
Método de bisección
Método de bisección
𝑓(𝑥) = 𝑥 3 − 7𝑥 2 + 14𝑥 − 6 a
Método de la falsa posición
a) 𝑥𝑖 = 0.5 𝑥𝑠 = 1.5 𝜀𝑟 ≤ 0.1%
INT Xi Xr Xs F(Xi) F(Xr) F(Xs) Er(%)
0 0.5 1.307692308 1.5 -2.625 0.573509331 0.625 -------
1 0.5 1.162868883 1.307692308 -2.625 0.386821862 0.573509331 12.45%
2 0.5 1.077733644 1.162868883 -2.625 0.209500561 0.386821861 7.90%
3 0.5 1.035032815 1.077733644 -2.625 0.100232249 0.209500561 4.13%
4 0.5 1.01535466 1.035032815 -2.625 0.045124538 0.100232248 1.94%
5 0.5 1.006645276 1.01535466 -2.625 0.019759482 0.045124538 0.87%
6 0.5 1.002860036 1.006645276 -2.625 0.008547413 0.019759483 0.38%
7 0.5 1.001227959 1.002860036 -2.625 0.003677848 0.008547412 0.16%
8 0.5 1.000526679 1.001227959 -2.625 0.001578927 0.003677847 0.07%
9 0.5 1.000225795 1.000526679 -2.625 0.000677181 0.001578928 0.03%
10 0.5 1.000096783 1.000225795 -2.625 0.000290312 0.000677181 0.01%
a) 𝑥0 = −10 𝜀𝑟 ≤ 0.1%
Iteración xn f(x) f´(x) xr Error%
n 0 -10 -12000 1000 2 -------
1 2 -2880 520 7.53846154 73.47%
2 7.53846154 -613.491124 298.461538 9.59397304 21.43%
3 9.59397304 -84.5025505 216.241079 9.9847524 3.91%
4 9.9847524 -3.05417018 200.609904 9.99997682 0.15%
5 9.99997682 -0.00463566 200.000927 10 0.00%
6 10 -1.0745E-08 200 10 0.00%
b) 𝑥0 = 50 𝜀𝑟 ≤ 0.1%
Iteración xn f(x) f´(x) xr Error%
n 0 50 -24000 -1400 32.8571429 ----------
1 32.8571429 -5877.55102 -714.285714 24.6285714 33.41%
2 24.6285714 -1354.18776 -385.142857 21.1125053 16.65%
3 21.1125053 -247.254421 -244.500212 20.1012407 5.03%
4 20.1012407 -20.4531237 -204.049626 20.0010046 0.50%
5 20.0010046 -0.20094522 -200.040185 20.0000001 0.01%
6 20.0000001 -2.0181E-05 -200.000004 20 0.00%
Método de la secante
𝐟(𝐱) = 𝟒𝒙𝟑 − 𝟖𝟎𝒙𝟐 + 𝟑𝟖𝟒𝒙
𝒇´(𝒙) = 𝟏𝟐𝒙𝟐 − 𝟏𝟔𝟎𝒙 + 𝟑𝟖𝟒
a) 𝑥𝑛−1 = 0 𝑥𝑛 = 5 𝜀𝑟 ≤ 0.1%
Iteración xn-1 xn f(xn) f(xn-1) xr Error%
0 0 5 -116 384 3.84 -------
1 5 3.84 -53.4528 -116 2.84866469 34.80%
2 3.84 2.84866469 25.5923359 -53.4528 3.16962797 10.13%
3 2.84866469 3.16962797 -2.58197768 25.5923359 3.14021394 0.94%
4 3.16962797 3.14021394 -0.10290765 -2.58197768 3.13899295 0.04%
5 3.14021394 3.13899295 0.00044886 -0.10290765 3.13899825 0.00%
6 3.13899295 3.13899825 -7.7356E-08 0.00044886 3.13899825 0.00%
7 3.13899825 3.13899825 0 -7.7356E-08 3.13899825 0.00%
b) 𝑥𝑛−1 = 0 𝑥𝑛 = 10 𝜀𝑟 ≤ 0.1%
Iteración xn-1 xn f(xn) f(xn-1) xr Error%
0 0 10 -16 384 9.6 -------------
1 10 9.6 -46.08 -16 10.212766 6.00%
2 9.6 10.212766 1.56450883 -46.08 10.1926445 0.20%
3 10.212766 10.1926445 -0.14309857 1.56450883 10.1943307 0.02%
4 10.1926445 10.1943307 -0.00037303 -0.14309857 10.1943351 0.00%
5 10.1943307 10.1943351 8.9405E-08 -0.00037303 10.1943351 0.00%
6 10.1943351 10.1943351 0 8.9405E-08 10.1943351 0.00%
7 10.1943351 10.1943351 0 0 #¡DIV/0! #¡DIV/0!
Método de aproximaciones sucesivas
𝐟(𝐱) = 𝟒𝒙𝟑 − 𝟖𝟎𝒙𝟐 + 𝟑𝟖𝟒𝒙
𝒇´(𝒙) = 𝟏𝟐𝒙𝟐 − 𝟏𝟔𝟎𝒙 + 𝟑𝟖𝟒