Вы находитесь на странице: 1из 6

UNIVERSIDAD DELSABES

Actividad 3: Metodos de solucion de ecuaciones I


Metodos numericos
Profesor: Jose Llanito Urbano
Aluma: Karla Zambrano Hernandez

Ejercicio del método de bisección:


Determine la raíz positiva de: 𝑥^2 − 0.9𝑥 − 1.52 = 0, en el intervalo [1,2]

𝑥_𝑢
Iteracciones
1 1 2 1.5 -1.42 -0.62
2 1.5 2 1.75 -0.62 -0.0325
3 1.75 2 1.875 -0.0325 0.308125
4 1.75 1.875 1.8125 -0.0325 0.13390625
5 1.75 1.8125 1.78125 -0.0325 0.0497265625
6 1.75 1.78125 1.765625 -0.0325 0.008369140625
7 1.75 1.765625 1.7578125 -0.0325 -0.01212646484375
8 1.7578125 1.765625 1.76171875 -0.012126464844 -0.00189392089844
9 1.7617188 1.765625 1.763671875 -0.001893920898 0.003233795166016
10 1.7617188 1.7636719 1.7626953125 -0.001893920898 0.000668983459473
11 1.7617188 1.7626953 1.76220703125 -0.001893920898 -0.00061270713806
12 1.762207 1.7626953 1.76245117188 -0.000612707138 2.80785560607E-05
13 1.762207 1.7624512 1.76232910156 -0.000612707138 -0.00029232919216
14 1.7623291 1.7624512 1.76239013672 -0.000292329192 -0.00013212904334
15 1.7623901 1.7624512 1.7624206543 -0.000132129043 -5.2026174963E-05
16 1.7624207 1.7624512 1.76243591309 -5.2026175E-05 -1.1974042281E-05

Metodo de regla falsa


a raíz de f(x)="x^2 - 0.9x - 1.52 = 0 "
𝑥_𝑙 𝑥_𝑢 𝑥_𝑙−𝑥_𝑢 𝑓(𝑥_𝑙) 𝑓(𝑥_𝑢)
Iteraciones
1 1 2 -1 -1.42 0.68
2 1.6761905 2 -0.3238095238 -0.2189569161 0.68
3 1.75506 2 -0.2449399657 -0.019318306859 0.68
4 1.7618264 2 -0.2381736257 -0.001611563726 0.68
5 1.7623895 2 -0.2376105015 -0.000133804227 0.68
6 1.7624362 2 -0.2375637559 -1.11050696E-05 0.68
nes I

0.8804
0.02015 0.25000 14.285714
-0.0100140625 0.12500 6.666667
-0.0043519531 -0.06250 3.448276
-0.0016161133 -0.03125 1.754386
-0.0002719971 -0.01563 0.884956
0.0003941101 -0.00781 0.444444
2.296657E-05 0.00391 0.221729
-6.124552E-06 0.00195 0.110742
-1.267002E-06 -0.00098 0.055402
1.160419E-06 -0.00049 0.027709
-1.720393E-08 0.00024 0.013852
1.791122E-07 -0.00012 0.006927
3.862518E-08 0.00006 0.003463
6.874169E-09 0.00003 0.001732
6.229636E-10 0.00002 0.000866 Si se cumple la condicion del error

falsa

𝑥_𝑟 𝑓(𝑥_𝑟) 𝑓(𝑥_𝑙 )∗𝑓(𝑥_𝑟)


𝑥_𝑟^𝑛𝑢𝑒𝑣𝑎−𝑥_𝑟^𝑎𝑛𝑡𝑒𝑟𝑖𝑜𝑟 |𝜖_𝑎 |
1.6761904762 -0.21895691609977 0.31091882086
1.7550600343 -0.019318306859 0.00422987689 0.07886955811484 4.4938382
1.7618263743 -0.00161156372615 3.1132683E-05 0.00676633998126 0.3840526
1.7623894985 -0.00013380422677 2.1563404E-07 0.00056312421348 0.0319523
1.7624362441 -1.110506962E-05 1.4859053E-09 4.6745639209E-05 0.0026523
1.7624401237 -9.2163413989E-07 1.0234811E-11 3.8795867132E-06 0.0002201 Si se cumple la condicion d
se cumple la condicion del error
Ejercicio del método de bisección:
Determine la raíz positiva de:
𝐿𝑛 𝑥 − 0.2𝑥^2 + 1 = 0, en el intervalo [3,4]
Con un error relativo estrimado de ϵ_s="sea menor que 0.001% "

𝑥_𝑢
Iteraciones
1 3 4 3.5 0.2986123 -0.197237 -0.058897401
2 3 3.5 3.25 0.2986123 0.066155 0.0197546949
3 3.25 3.5 3.375 0.066155 -0.0617297 -0.004083726
4 3.25 3.375 3.3125 0.066155 0.0031719 0.0002098398
5 3.3125 3.375 3.34375 0.0031719 -0.0290399 -9.21128E-05
6 3.3125 3.34375 3.328125 0.0031719 -0.0128741 -4.083596E-05
7 3.3125 3.328125 3.3203125 0.0031719 -0.0048361 -1.533987E-05
8 3.3125 3.3203125 3.3164063 0.0031719 -0.0008283 -2.62745E-06
9 3.3125 3.3164063 3.3144531 0.0031719 0.0011727 3.719852E-06
10 3.3144531 3.3164063 3.3154297 0.0011727 0.0001724 2.022171E-07
11 3.3154297 3.3164063 3.315918 0.0001724 -0.0003279 -5.653974E-08
12 3.3154297 3.315918 3.3156738 0.0001724 -7.772E-05 -1.340097E-08
13 3.3154297 3.3156738 3.3155518 0.0001724 4.7361E-05 8.166513E-09
14 3.3155518 3.3156738 3.3156128 4.7361E-05 -1.518E-05 -7.188157E-10
15 3.3155518 3.3156128 3.3155823 4.7361E-05 1.6092E-05 7.621266E-10

Determinar por el método de la regla falsa la raíz de f(x)="Ln x - 0.2x^2 + 1 = 0"


"En el intervalo [3,4]"
Es de ϵ_s="sea menor que 0.001% "

𝑥_𝑙 𝑥_𝑢 𝑥_𝑙−𝑥_𝑢 𝑓(𝑥_𝑙) 𝑓(𝑥_𝑢) 𝑥_𝑟


Iteraciones
1 3 4 -1 0.2986123 -0.8137056 3.2684594766
2 3.2684595 4 -0.7315405 0.0477533 -0.8137056 3.3090109987
3 3.309011 4 -0.690989 0.0067386 -0.8137056 3.3146863326
4 3.3146863 4 -0.6853137 0.0009339 -0.8137056 3.3154719754
5 3.315472 4 -0.684528 0.0001291 -0.8137056 3.3155805677
6 3.3155806 4 -0.6844194 1.7842E-05 -0.8137056 3.3155955742
-0.25 7.69230769231
0.125 3.7037037037
-0.0625 1.88679245283
0.03125 0.93457943925
-0.015625 0.46948356808
-0.0078125 0.23529411765
-0.00390625 0.11778563015
-0.001953125 0.05892751915
0.0009765625 0.029455081
0.00048828125 0.01472537182
-0.000244140625 0.00736322804
-0.0001220703125 0.00368174957
0.00006103515625 0.0018408409
-0.000030517578125 0.00092042892 Si se cumple la condicion del error

𝑓(𝑥_𝑟) 𝑓(𝑥_𝑙 )∗𝑓(𝑥_𝑟)


𝑥_𝑟^𝑛𝑢𝑒𝑣𝑎−𝑥_𝑟^𝑎𝑛𝑡𝑒𝑟𝑖𝑜𝑟 |𝜖_𝑎 |

0.0477532957710705 0.01425972094
0.0067385949349439 0.00032179012 0.0405515220473 1.2254877
0.0009339018387664 6.2931862E-06 0.0056753339137 0.1712178
0.0001291052678851 1.2057165E-07 0.0007856428054 0.0236963
1.7841693040088E-05 2.3034566E-09 0.0001085922844 0.0032752
2.4655132757623E-06 4.3988931E-11 1.500657375E-05 0.0004526Si se cumple la condicion del error
la condicion del error

Вам также может понравиться