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

# Método de la falsa posición o de interpolación lineal

Ejemplo: Sea:  1  e  x  f  xb   xb 
f  x   0.5 xr  xb 
x f  xb   f 
xa=5
xb=7

## Iteración xa xb f(xa) f(xb) xr f(xr)

1 5 7 0.1240849538 -0.051610301 6.412502049 -0.0108870847
2 5 6.412502049 0.1240849538 -0.010887085 6.298567121 -0.00213828
3 5 6.298567121 0.1240849538 -0.00213828 6.276568792 -0.0004138301
4 5 6.276568792 0.1240849538 -0.00041383 6.272325517 -7.986005E-05
5 5 6.272325517 0.1240849538 -7.986E-05 6.271507186 -1.540265E-05
6 5 6.271507186 0.1240849538 -1.54026E-05 6.271349373 -2.970398E-06
7 5 6.271349373 0.1240849538 -2.9704E-06 6.27131894 -5.728288E-07
8 5 6.27131894 0.1240849538 -5.72829E-07 6.271313071 -1.104672E-07
9 5 6.271313071 0.1240849538 -1.10467E-07 6.271311939 -2.130304E-08
10 5 6.271311939 0.1240849538 -2.1303E-08 6.271311721 -4.108181E-09
11 5 6.271311721 0.1240849538 -4.10818E-09 6.271311679 -7.922416E-10
12 5 6.271311679 0.1240849538 -7.92242E-10 6.271311671 -1.527796E-10
13 5 6.271311671 0.1240849538 -1.5278E-10 6.271311669 -2.946288E-11
14 5 6.271311669 0.1240849538 -2.94629E-11 6.271311669 -5.681733E-12

f  xb
xr  xb 
Ejercicio 2) f  xb
[0.1,2]

## Iteración xa xb f(xa) f(xb) xr f(xr)

1 0.1 2 3.207422511 -0.557811897 1.718518825 -0.3621311989
2 0.1 1.718518825 3.207422511 -0.362131199 1.554320102 -0.2297051976
3 0.1 1.554320102 3.207422511 -0.229705198 1.457127063 -0.1435622978
4 0.1 1.457127063 3.207422511 -0.143562298 1.398985266 -0.0888998422
5 0.1 1.398985266 3.207422511 -0.088899842 1.36395241 -0.0547383184
6 0.1 1.36395241 3.207422511 -0.054738318 1.342743575 -0.0335867053
7 0.1 1.342743575 3.207422511 -0.033586705 1.329864975 -0.0205644399
8 0.1 1.329864975 3.207422511 -0.02056444 1.322029911 -0.0125747758
9 0.1 1.322029911 3.207422511 -0.012574776 1.317257624 -0.0076831249
10 0.1 1.317257624 3.207422511 -0.007683125 1.314348748 -0.0046920699
11 0.1 1.314348748 3.207422511 -0.00469207 1.312574898 -0.0028645883
12 0.1 1.312574898 3.207422511 -0.002864588 1.311492899 -0.0017485632
13 0.1 1.311492899 3.207422511 -0.001748563 1.3108328 -0.0010672164
14 0.1 1.3108328 3.207422511 -0.001067216 1.310430049 -0.0006513199
15 0.1 1.310430049 3.207422511 -0.00065132 1.310184302 -0.0003974828
16 0.1 1.310184302 3.207422511 -0.000397483 1.310034347 -0.0002425668
17 0.1 1.310034347 3.207422511 -0.000242567 1.309942843 -0.0001480259
18 0.1 1.309942843 3.207422511 -0.000148026 1.309887005 -9.033169E-05
19 0.1 1.309887005 3.207422511 -9.03317E-05 1.309852932 -5.512391E-05
20 0.1 1.309852932 3.207422511 -5.51239E-05 1.309832139 -3.363864E-05
21 0.1 1.309832139 3.207422511 -3.36386E-05 1.309819451 -2.052749E-05
22 0.1 1.309819451 3.207422511 -2.05275E-05 1.309811708 -1.252659E-05
23 0.1 1.309811708 3.207422511 -1.25266E-05 1.309806983 -7.644151E-06
f  xb   xb  xa 
 xb 
f  xb   f  xa 

f(xa)*f(xr) Er(%)
-0.0013509234
-0.0002653284 1.808902342
-5.135009E-05 0.350483349
-9.90943E-06 0.067650743
-1.911237E-06 0.013048402
-3.685817E-07 0.002516403
-7.107944E-08 0.000485279
-1.370732E-08 9.35836E-05
-2.643386E-09 1.804712E-05
-5.097635E-10 3.480295E-06
-9.830526E-11 6.71157E-07
-1.895765E-11 1.294292E-07
-3.6559E-12 2.495973E-08
-7.050176E-13 4.813373E-09

f  xb   xb  xa 
xr  xb 
f  xb   f  xa 

f(xa)*f(xr) Er(%)
-1.1615077594
-0.7367616215 10.56402239
-0.4604649457 6.670182795
-0.2851393552 4.155997832
-0.1755689146 2.568480791
-0.1077267547 1.579514881
-0.0659588474 0.968414128
-0.0403326189 0.592654065
-0.0246430277 0.362289594
-0.0150494506 0.221316877
-0.0091879452 0.135142758
-0.0056083811 0.082501335
-0.0034230138 0.050357255
-0.002089058 0.030734217
-0.0012748952 0.018756736
-0.0007780142 0.011446617
-0.0004747817 0.006985343
-0.0002897319 0.004262777
-0.0001768057 0.002601321
-0.0001078933 0.001587425
-6.584033E-05 0.000968705
-4.017805E-05 0.000591138
-2.451802E-05 0.000360733