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

Método de la Bisección y=4x 2-5x

iteraciones xa xb xr f(xa)
1 1 1.6 1.3 -1
2 1 1.3 1.15 -1
3 1.15 1.3 1.225 -0.46
4 1.225 1.3 1.2625 -0.1225
5 1.225 1.2625 1.24375 -0.1225
6 1.24375 1.2625 1.253125 -0.03109375
7 1.24375 1.253125 1.2484375 -0.03109375
8 1.2484375 1.253125 1.25078125 -0.0078027344
9 1.2484375 1.25078125 1.249609375 -0.0078027344
10 1.249609375 1.25078125 1.250195313 -0.0019525146
11 1.249609375 1.250195313 1.249902344 -0.0019525146
12 1.249902344 1.250195313 1.250048828 -0.0004882431
13 1.249902344 1.250048828 1.249975586 -0.0004882431
14 1.249975586 1.250048828 1.250012207 -0.0001220679
15 1.249975586 1.250012207 1.249993896 -0.0001220679
16 1.249993896 1.250012207 1.250003052 -3.051743E-05
17 1.249993896 1.250003052 1.249998474 -3.051743E-05
18 1.249998474 1.250003052 1.250000763 -7.629385E-06
19 1.249998474 1.250000763 1.249999619 -7.629385E-06
20 1.249999619 1.250000763 1.250000191 -1.907348E-06
21 1.249999619 1.250000191 1.249999905 -1.907348E-06
22 1.249999905 1.250000191 1.250000048 -4.768371E-07
23 1.249999905 1.250000048 1.249999976 -4.768371E-07
24 1.249999976 1.250000048 1.250000012 -1.192093E-07
25 1.249999976 1.250000012 1.249999994 -1.192093E-07
26 1.249999994 1.250000012 1.250000003 -2.980232E-08
27 1.249999994 1.250000003 1.249999999 -2.980232E-08
28 1.249999999 1.250000003 1.250000001 -7.45058E-09
29 1.249999999 1.250000001 1.25 -7.45058E-09
30 1.25 1.250000001 1.25 -1.862644E-09
I=[1,1.6)

f(xr) f(xa)*f(xr) eaprox(%) ereal


0.26 -0.26 13.043478261 5
-0.46 0.46 6.1224489796 10
-0.1225 0.05635 2.9702970297 2.5
0.063125 -0.0077328125 1.5075376884 1.25
-0.03109375 0.0038089844 0.7481296758 0.625
0.0156640625 -0.0004870544 0.3754693367 0.3125
-0.0078027344 0.0002426163 0.1873828857 0.15625
0.0039086914 -3.049848E-05 0.093779306 0.078125
-0.0019525146 1.5234953E-05 0.0468676769 0.0390625
0.0009767151 -1.907051E-06 0.0234393312 0.01953125
-0.0004882431 9.5330181E-07 0.0117182923 0.009765625
0.0002441502 -1.192046E-07 0.0058594894 0.0048828125
-0.0001220679 5.9598824E-08 0.0029296589 0.0024414062
6.1035752E-05 -7.450508E-09 0.0014648509 0.0012207031
-3.051743E-05 3.7251993E-09 0.0007324201 0.0006103516
1.5258826E-05 -4.656602E-10 0.0003662114 0.0003051758
-7.629385E-06 2.3282922E-10 0.0001831054 0.0001525879
3.8146996E-06 -2.910381E-11 9.155276E-05 7.629395E-05
-1.907348E-06 1.4551893E-11 4.577636E-05 3.814697E-05
9.5367446E-07 -1.818989E-12 2.288819E-05 1.907349E-05
-4.768371E-07 9.0949435E-13 1.144409E-05 9.536743E-06
2.3841859E-07 -1.136868E-13 5.722046E-06 4.768372E-06
-1.192093E-07 5.6843413E-14 2.861023E-06 2.384186E-06
5.9604647E-08 -7.105427E-15 1.430511E-06 1.192093E-06
-2.980232E-08 3.5527135E-15 7.152557E-07 5.960464E-07
1.4901162E-08 -4.440892E-16 3.576279E-07 2.980233E-07
-7.45058E-09 2.2204457E-16 1.788139E-07 1.490116E-07
3.7252912E-09 -2.775558E-17 8.940697E-08 7.450582E-08
-1.862644E-09 1.387778E-17 4.470349E-08 3.725289E-08
9.3132346E-10 -1.734724E-18 #DIV/0! 1.862648E-08
METODO DE LA BISECCION
F(x)=x3+4x2-10 I=[1,1.5) [0,1.25] [1.25,1.5]

iteraciones xa xb xr f(xa) f(xr) f(xa)*f(xr)


1 1 1.5 1.25 -5 -1.796875 8.984375
2 1.25 1.5 1.375 -1.796875 0.162109375 -0.29129028
3 1.25 1.375 1.3125 -1.796875 -0.848388672 1.52444839
4 1.3125 1.375 1.34375 -0.84838867 -0.350982666 0.29776972
5 1.34375 1.375 1.359375 -0.35098267 -0.096408844 0.03383783
6 1.359375 1.375 1.3671875 -0.09640884 0.032355785 -0.00311938
7 1.359375 1.3671875 1.36328125 -0.09640884 -0.032149971 0.00309954
8 1.36328125 1.3671875 1.36523438 -0.03214997 7.202476E-05 -2.3156E-06
9 1.36328125 1.36523438 1.36425781 -0.03214997 -0.016046691 0.0005159
10 1.36425781 1.36523438 1.36474609 -0.01604669 -0.007989263 0.0001282
11 1.36474609 1.36523438 1.36499023 -0.00798926 -0.003959102 3.16303E-05
12 1.36499023 1.36523438 1.3651123 -0.0039591 -0.001943659 7.69514E-06
13 1.3651123 1.36523438 1.36517334 -0.00194366 -0.000935847 1.81897E-06
14 1.36517334 1.36523438 1.36520386 -0.00093585 -0.000431919 4.0421E-07
15 1.36520386 1.36523438 1.36521912 -0.00043192 -0.000179949 7.77233E-08
16 1.36521912 1.36523438 1.36522675 -0.00017995 -5.39625E-05 9.7105E-09
17 1.36522675 1.36523438 1.36523056 -5.3963E-05 9.030993E-06 -4.8734E-10
18 1.36522675 1.36523056 1.36522865 -5.3963E-05 -2.24658E-05 1.21231E-09
19 1.36522865 1.36523056 1.36522961 -2.2466E-05 -6.71741E-06 1.50912E-10
20 1.36522961 1.36523056 1.36523008 -6.7174E-06 1.156788E-06 -7.7706E-12
21 1.36522961 1.36523008 1.36522985 -6.7174E-06 -2.78031E-06 1.86765E-11
22 1.36522985 1.36523008 1.36522996 -2.7803E-06 -8.11763E-07 2.25695E-12
23 1.36522996 1.36523008 1.36523002 -8.1176E-07 1.725127E-07 -1.4004E-13
24 1.36522996 1.36523002 1.36522999 -8.1176E-07 -3.19625E-07 2.5946E-13
25 1.36522999 1.36523002 1.36523001 -3.1962E-07 -7.35561E-08 2.35104E-14
26 1.36523001 1.36523002 1.36523002 -7.3556E-08 4.947834E-08 -3.6394E-15
27 1.36523001 1.36523002 1.36523001 -7.3556E-08 -1.20389E-08 8.85532E-16
28 1.36523001 1.36523002 1.36523001 -1.2039E-08 1.871974E-08 -2.2536E-16
29 1.36523001 1.36523001 1.36523001 -1.2039E-08 3.340434E-09 -4.0215E-17
30 1.36523001 1.36523001 1.36523001 -1.2039E-08 -4.34922E-09 5.23597E-17
31 1.36523001 1.36523001 1.36523001 -4.3492E-09 -5.04393E-10 2.19371E-18
32 1.36523001 1.36523001 1.36523001 -5.0439E-10 1.418021E-09 -7.1524E-19
33 1.36523001 1.36523001 1.36523001 -5.0439E-10 4.56815E-10 -2.3041E-19
34 1.36523001 1.36523001 1.36523001 -5.0439E-10 -2.3789E-11 1.1999E-20
35 1.36523001 1.36523001 1.36523001 -2.3789E-11 2.16513E-10 -5.1506E-21
36 1.36523001 1.36523001 1.36523001 -2.3789E-11 9.636203E-11 -2.2924E-21
37 1.36523001 1.36523001 1.36523001 -2.3789E-11 3.628742E-11 -8.6324E-22
38 1.36523001 1.36523001 1.36523001 -2.3789E-11 6.249223E-12 -1.4866E-22
39 1.36523001 1.36523001 1.36523001 -2.3789E-11 -8.76987E-12 2.08626E-22
40 1.36523001 1.36523001 1.36523001 -8.7699E-12 -1.26121E-12 1.10607E-23
41 1.36523001 1.36523001 1.36523001 -1.2612E-12 2.494005E-12 -3.1455E-24
42 1.36523001 1.36523001 1.36523001 -1.2612E-12 6.163958E-13 -7.7741E-25
43 1.36523001 1.36523001 1.36523001 -1.2612E-12 -3.21521E-13 4.05506E-25
44 1.36523001 1.36523001 1.36523001 -3.2152E-13 1.474376E-13 -4.7404E-26
45 1.36523001 1.36523001 1.36523001 -3.2152E-13 -8.70415E-14 2.79856E-26
46 1.36523001 1.36523001 1.36523001 -8.7041E-14 0 0
47 1.36523001 1.36523001 1.36523001 0 0 0
48 1.36523001 1.36523001 1.36523001 0 0 0
49 1.36523001 1.36523001 1.36523001 0 0 0
50 1.36523001 1.36523001 1.36523001 0 0 0
51 1.36523001 1.36523001 1.36523001 0 0 0
52 1.36523001 1.36523001 1.36523001 0 0 0
53 1.36523001 1.36523001 1.36523001 0 0 0
54 1.36523001 1.36523001 1.36523001 0 0 0
55 1.36523001 1.36523001 1.36523001 0 0 0
56 1.36523001 1.36523001 1.36523001 0 0 0
57 1.36523001 1.36523001 1.36523001 0 0 0
58 1.36523001 1.36523001 1.36523001 0 0 0
59 1.36523001 1.36523001 1.36523001 0 0 0
60 1.36523001 1.36523001 1.36523001 0 0 0
61 1.36523001 1.36523001 1.36523001 0 0 0
62 1.36523001 1.36523001 1.36523001 0 0 0
63 1.36523001 1.36523001 1.36523001 0 0 0
64 1.36523001 1.36523001 1.36523001 0 0 0
65 1.36523001 1.36523001 1.36523001 0 0 0
66 1.36523001 1.36523001 1.36523001 0 0 0
67 1.36523001 1.36523001 1.36523001 0 0 0
68 1.36523001 1.36523001 1.36523001 0 0 0
69 1.36523001 1.36523001 1.36523001 0 0 0
70 1.36523001 1.36523001 1.36523001 0 0 0
71 1.36523001 1.36523001 1.36523001 0 0 0
72 1.36523001 1.36523001 1.36523001 0 0 0
73 1.36523001 1.36523001 1.36523001 0 0 0
74 1.36523001 1.36523001 1.36523001 0 0 0
75 1.36523001 1.36523001 1.36523001 0 0 0
76 1.36523001 1.36523001 1.36523001 0 0 0
77 1.36523001 1.36523001 1.36523001 0 0 0
78 1.36523001 1.36523001 1.36523001 0 0 0
79 1.36523001 1.36523001 1.36523001 0 0 0
80 1.36523001 1.36523001 1.36523001 0 0 0
81 1.36523001 1.36523001 1.36523001 0 0 0
82 1.36523001 1.36523001 1.36523001 0 0 0
83 1.36523001 1.36523001 1.36523001 0 0 0
84 1.36523001 1.36523001 1.36523001 0 0 0
85 1.36523001 1.36523001 1.36523001 0 0 0
86 1.36523001 1.36523001 1.36523001 0 0 0
87 1.36523001 1.36523001 1.36523001 0 0 0
88 1.36523001 1.36523001 1.36523001 0 0 0
89 1.36523001 1.36523001 1.36523001 0 0 0
90 1.36523001 1.36523001 1.36523001 0 0 0
ea(%) er
12
9.09090909 0.5
4.76190476 5.75
2.3255814 2.625
1.14942529 1.0625
0.57142857 0.28125
0.28653295 0.671875
0.14306152 0.4765625
0.07158196 0.57421875
0.03577818 0.52539063
0.01788589 0.50097656
0.00894214 0.48876953
0.00447087 0.48266602
0.00223539 0.47961426
0.00111768 0.47808838
0.00055884 0.47732544
0.00027942 0.47694397
0.00013971 0.4771347
6.98545E-05 0.47703934
3.49272E-05 0.47699165
1.74636E-05 0.4770155
8.73181E-06 0.47700357
4.3659E-06 0.47699761
2.18295E-06 0.47700059
1.09148E-06 0.4769991
5.45738E-07 0.47699836
2.72869E-07 0.47699873
1.36435E-07 0.47699855
6.82173E-08 0.47699864
3.41086E-08 0.47699868
1.70543E-08 0.47699866
8.52716E-09 0.47699865
4.26358E-09 0.47699866
2.13179E-09 0.47699866
1.06589E-09 0.47699866
5.32947E-10 0.47699866
2.66474E-10 0.47699866
1.33237E-10 0.47699866
6.66184E-11 0.47699866
3.33092E-11 0.47699866
1.66546E-11 0.47699866
8.3273E-12 0.47699866
4.16365E-12 0.47699866
2.08183E-12 0.47699866
1.04091E-12 0.47699866
5.20456E-13 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
0 0.47699866
METODO DE LA SECANTE
y=sen x + cos (1+x^2)-1

iteración xi f(xi)
0 2
1 3 -1.697951521
2 2.1020458385856 0.5111279029
3 2.3098108571065 0.73777886889
4 1.6335082448865 -0.8664079582
5 1.998773658786 0.18876344325
6 1.9334300026416 -0.0392744522
7 1.9446839930989 0.00026560377
8 1.9446083962843 -1.0132216E-07
solucion 9 1.9446084251119 -2.0095037E-14
10 1.9446084251119 0
11 1.9446084251119 0
12 #DIV/0! #DIV/0!
13 #DIV/0! #DIV/0!
14 #DIV/0! #DIV/0!
15 #DIV/0! #DIV/0!
NTE
I=[2,3]

f(xi-1) xi -xi-1 ea (%)

0.192959612289 1
-1.697951521017 -0.8979541614 42.7181056156
0.5111279029 0.2077650185 8.99489314814
0.737778868886 -0.6763026122 41.4018487104
-0.866407958165 0.3652654139 18.2744760666
0.188763443249 -0.0653436561 3.37967529495
-0.03927445219 0.0112539905 0.57870535764
0.000265603769 -7.559681E-05 0.00388750839
-1.01322156E-07 2.882757E-08 1.4824357E-06
-2.00950367E-14 0 0
0 0 0
0 #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
METODO DE LA FALSA POSICION
CALCULAR LA RAIZ SOLUCION DE LA FUNCION F(x) =-1+7e^-x sin x en el intervalo de [1.5,2] con un ea <= 0

iteración xa xb f(xa) f(xb) xr f(xr)


1 2 1.5 -0.13857983 0.5579985128 1.90052818284932 -0.0099444025
2 1.900528183 1.5 -0.0099444 0.5579985128 1.89351513039471 -0.0006083247
3 1.89351513 1.5 -0.00060832 0.5579985128 1.89308659107838 -3.6764317E-05
4 1.893086591 1.5 -3.67643E-05 0.5579985128 1.89306069386238 -2.2202091E-06
5 1.893060694 1.5 -2.22021E-06 0.5579985128 1.89305912992726 -1.3407311E-07
6 1.89305913 1.5 -1.34073E-07 0.5579985128 1.89305903548498 -8.0963329E-09
7 1.893059035 1.5 -8.09633E-09 0.5579985128 1.89305902978185 -4.8891657E-10
8 1.89305903 1.5 -4.88917E-10 0.5579985128 1.89305902943746 -2.9524494E-11
9 1.893059029 1.5 -2.95245E-11 0.5579985128 1.89305902941666 -1.7830182E-12
10 1.893059029 1.5 -1.78302E-12 0.5579985128 1.8930590294154 -1.0769163E-13
11 1.893059029 1.5 -1.07692E-13 0.5579985128 1.89305902941533 -6.3282712E-15
12 1.893059029 1.5 -6.32827E-15 0.5579985128 1.89305902941532 0
13 1.893059029 2.5 0 -0.656120904 1.89305902941532 0
14 1.893059029 3.5 0 -1.074149149 1.89305902941532 0
15 1.893059029 4.5 0 -1.076015651 1.89305902941532 0
de [1.5,2] con un ea <= 0.1% mediante el metodo de la falsa posicion

f(xa)*f(xr) ea(%) ea
0.0013780936
6.0494261E-06 0.370372137 0.007013052
2.2364644E-08 0.022637069 0.000428539
8.1624473E-11 0.001368008 2.589722E-05
2.9767035E-13 8.261417E-05 1.563935E-06
1.0855006E-15 4.988871E-06 9.444228E-08
3.9584314E-18 3.012652E-07 5.703128E-09
1.4435014E-20 1.819262E-08 3.44397E-10
5.2642709E-23 1.098611E-09 2.079736E-11
1.9201614E-25 6.634153E-11 1.255884E-12
6.8150187E-28 4.011457E-12 7.593925E-14
0 0 0
0 0 0
0 0 0
0 1.172941E-14 2.220446E-16
METODO DEL PUNTO FIJO
calcular la raiz solucion de la ecuacion x^3 +4x^2 -10 =0 con po=1.5

f(x)=x3+4x2-10

iteraciones a b c d
0 1.5 1.5 1.5 1.5
1 -0.875 0.8164965809277 1.286953767623 1.34839972493
2 6.732421875 2.9969088057872 1.40254080354 1.36737637199
3 -469.7200120017 #NUM! 1.345458374023 1.3649570154
4 102754555.1874 #NUM! 1.375170252816 1.36526474811
5 -1.08493387E+24 #NUM! 1.360094192762 1.36522559416
6 1.277055591E+72 #NUM! 1.367846967592 1.36523057567
7 -2.0827129E+216 #NUM! 1.363887003884 1.36522994188
8 #NUM! #NUM! 1.36591673339 1.36523002252
9 #NUM! #NUM! 1.364878217194 1.36523001226
10 #NUM! #NUM! 1.36541006117 1.36523001356
11 #NUM! #NUM! 1.365137820669 1.3652300134
12 #NUM! #NUM! 1.36527721 1.36523001342
13 #NUM! #NUM! 1.365205850297 1.36523001341
14 #NUM! #NUM! 1.365242383719 1.36523001341
15 #NUM! #NUM! 1.365223680225 1.36523001341
divergente divergente convergente convergente
METODO
+4x^2 -10 =0 con po=1.5 x=g(x)
a) 𝑥=𝑥−𝑥^3−4𝑥^2+10
b) 𝑥=(10/𝑥−4𝑥)^(1∕2)

C) 𝑥=1/2 (10−𝑥^3 )^(1∕2)

e ea(%) d) 𝑥=(10/(4+𝑥))^(1∕2)
1.5 … e) 𝑥=𝑥−(𝑥^3+4𝑥^2−10)/(3𝑥^2+8𝑥)
1.373333333333 9.22330097
1.365262014875 0.5911919
1.365230013916 0.002344
1.365230013414 3.6774E-08
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
1.365230013414 0
convergente
METODO DE NEWTON
1EJERCICIO
Calcular la raiz de f(x)=x^4+2x-1 empleando con valor inicial x0=0

f(x)=x4+2x-1
iteracion xi ea(%)
1 0.5 …
METODO
2 0.475 526.31579%
𝑋_(𝑖+1)=𝑥_𝑖−𝑓(𝑥_𝑖 )/(𝑓^′ 3 0.47462669523 7.86523%
(𝑥_𝑖 ) ) 4 0.47462661756 0.00164%
5 0.47462661756 0.00000%
𝑥_(𝑖+1)=𝑥_𝑖− 6
(𝑥^4+2𝑥−1)/(4𝑥^3+2) 7
8
9
10
11
12
13
14
15

2EJERCICIO
o con valor inicial x0=0.5 y con ea =0.0001%
METODO DE LA BISECCION

Оценить