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

# Iteración xi f(x) error

0 0 1 Hecho en clase
1 1 -0.63212056 100
2 0.61269984 0.07431383 63.2120559
3 0.65344213 -0.00096985 6.23502747 f(x 1)(x 0  x 1)
4 0.65291727 2.54765E-06 0.08038814 <1%
x 2  x1    0.61
f(x 0 )  f(x 1)
5 0.65291864 6.90489E-11 0.00021061
6 0.65291864 0 5.7084E-09
7 0.65291864 0 0
8 #DIV/0! #DIV/0! #DIV/0!
9 #DIV/0! #DIV/0! #DIV/0!
10 #DIV/0! #DIV/0! #DIV/0!
1
x 0  x 1)
  0.612699837
 f(x 1)
iteración xi F(x) error
0 0 1 Hecho en clase
1 1 0.5403023 100
2 0.5403023 0.8575532 85.081572
3 0.8575532 0.6542898 36.994895
4 0.6542898 0.7934804 31.066269
5 0.7934804 0.7013688 17.541779
6 0.7013688 0.7639597 13.133117
7 0.7639597 0.7221024 8.1929597
8 0.7221024 0.7504178 5.7965818
9 0.7504178 0.731404 3.7732765
10 0.731404 0.7442374 2.5996191
11 0.7442374 0.7356047 1.7243575
12 0.7356047 0.7414251 1.1735398
13 0.7414251 0.7375069 0.7850215 <1%
14 0.7375069 0.7401473 0.5312759
15 0.7401473 0.7383692 0.3567459
iteración xi F(x) error
0 0 -0.2 Hecho en clase
1 -0.2 -0.123746 100
2 -0.123746 -0.161408 61.621189
3 -0.161408 -0.144137 23.333186
4 -0.144137 -0.152379 11.982491
5 -0.152379 -0.148513 5.408892
6 -0.148513 -0.150341 2.6025548
7 -0.150341 -0.14948 1.2159295
8 -0.14948 -0.149887 0.5761185 <1%
9 -0.149887 -0.149695 0.2711783
10 -0.149695 -0.149785 0.1280414
11 -0.149785 -0.149743 0.0603683
12 -0.149743 -0.149763 0.0284818
13 -0.149763 -0.149753 0.0134334
14 -0.149753 -0.149758 0.0063368
15 -0.149758 -0.149756 0.002989
Iteración xi f(x) f´(x) error
0 0.5 0.28635239 -0.306852819
1 1 #DIV/0!
2 0.7006259 -0.10202256 100 f(x)  1- x 2 - arctanx
3 0.63576366 0.0295025 10.2022565
4 0.65031297 0.00049784 2.23727751
5 0.6505627 -2.5071E-06 0.03838623
6 0.65056144 2.11058E-10 0.00019234
7 0.65056144 0 1.61908E-08
8 0.65056144 0 0
9 #DIV/0! #DIV/0! #DIV/0!
10 #DIV/0! #DIV/0! #DIV/0!
f(x)  1- x 2 - arctanx

Usa el método de Newton-Raphson para
f(x)  cosx - x aproximar la raíz de , comenzando con y
hasta que .
Solución:
𝒙_𝒓=𝟎.𝟕𝟑𝟗𝟎𝟖𝟓𝟏𝟑𝟑
Iteración xi f(x) error
0 0 1
1 0.5 -0.15571933 100
f(x)  arcsenx  e-2x
2 0.43263099 0.02558233 15.5719334
3 0.442137 -0.00046248 2.1500153
4 0.4419682 -1.1017E-06 0.0381925 <1%
5 0.4419678 4.94219E-11 9.11972E-05
6 0.4419678 0 4.09093E-09
7 0.4419678 0 0
8 #DIV/0! #DIV/0! #DIV/0!
9 #DIV/0! #DIV/0! #DIV/0!
10 #DIV/0! #DIV/0! #DIV/0!
xr  0.4191

## Iteración xi f(x) error Iteración xi f(x)

0 0 -1 0 0 -1
1 0.5 0.15571933 100 1 0.5 0.38826349
2 0.43263099 -0.02558233 15.5719334 2 0.360162176 0.13166762
3 0.442137 0.00046248 2.1500153 3 0.288406879 -0.02292764
4 0.4419682 1.10169E-06 0.0381925 4 0.299048732 0.00135315
5 0.4419678 -4.9422E-11 9.11972E-05 5 0.29845567 1.36238E-05
6 0.4419678 0 4.09093E-09 6 0.298449638 -8.1335E-09
7 0.4419678 0 0 7 0.298449642 4.89053E-14
8 #DIV/0! #DIV/0! #DIV/0! 8 0.298449642 0
9 #DIV/0! #DIV/0! #DIV/0! 9 0.298449642 0
10 #DIV/0! #DIV/0! #DIV/0! 10 #DIV/0! #DIV/0!
enx  e-2x

Solución
xr  0.419118641

error

100
38.8263492
24.8798839
3.55856799
0.19871015
0.00202105
1.20586E-06
7.25394E-12
0
#DIV/0!
Iteración xi f(x) error
0 0 1 f(x)  e-x - x
1 1 -0.63212056 100
2 0.61269984 -0.07081395 63.2120559
3 0.56383839 0.00518235 8.66586039
4 0.56717036 -4.2419E-05 0.58747239 <1%
5 0.56714331 -2.538E-08 0.00476984
6 0.56714329 1.24234E-13 2.85558E-06
7 0.56714329 0 1.39771E-11
8 0.56714329 0 0
9 #DIV/0! #DIV/0! #DIV/0!
10 #DIV/0! #DIV/0! #DIV/0!
f(x)  e-x - x
Iteración xi F(x) error
0 0.52 0.5031199
1 0.5031199 0.5178389 3.3550927
2 0.5178389 0.5049965 2.8423901
3 0.5049965 0.5161956 2.5430602
4 0.5161956 0.506425 2.169551
5 0.506425 0.514946 1.9293412
6 0.514946 0.5075122 1.6547374
7 0.5075122 0.5139955 1.4647497
8 0.5139955 0.5083396 1.2613561
9 0.5083396 0.5132725 1.1126181
10 0.5132725 0.5089693 0.9610691 <1%
11 0.5089693 0.5127225 0.8454768
12 0.5127225 0.5094485 0.7320235
13 0.5094485 0.5123042 0.6426705
14 0.5123042 0.5098131 0.5574214
15 0.5098131 0.5119859 0.4886235
iteración xi F(x) error
0 1.5 1.7972674
1 1.7972674 1.7068663 16.539967
2 1.7068663 1.7326704 5.2963234
3 1.7326704 1.7251681 1.489271
4 1.7251681 1.7273378 0.434877 <1%
5 1.7273378 1.7267093 0.1256078
6 1.7267093 1.7268913 0.0363949
7 1.7268913 1.7268386 0.0105358
8 1.7268386 1.7268538 0.0030508
9 1.7268538 1.7268494 0.0008833
10 1.7268494 1.7268507 0.0002558
11 1.7268507 1.7268503 7.405E-05
12 1.7268503 1.7268504 2.144E-05
13 1.7268504 1.7268504 6.208E-06
14 1.7268504 1.7268504 1.798E-06
15 1.7268504 1.7268504 5.205E-07
a b b-a f(a) f(b)
0 1 1 1 2.71828183 f(x)  e x
2
a0
b 1
1.85914091
1.85914
a b b-a f(a) f(b)
2 4 2 3.69452805 13.6495375
Un intervalo
17.3440656
a b b-a n h xi f(a) m
0 1 1 5 0.2 0 1 1
0.2 1.04081077 2
0.4 1.17351087 2
0.6 1.43332941 2
0.8 1.89648088 2
1 2.71828183 1
m(x1)
1
2.08162155 Más de un intervalo 5
2.34702174
2.86665883
3.79296176
2.71828183
14.8065457 <- Suma

1.48065457
a b b-a n h xi f(a) m
0 1 1 10 0.1 0 1 1
0.1 1.01005017 4
0.2 1.04081077 2
0.3 1.09417428 4
0.4 1.17351087 2
0.5 1.28402542 4
0.6 1.43332941 2
0.7 1.63231622 4
0.8 1.89648088 2
0.9 2.24790799 4
1 2.71828183 1
m(x1)
1
4.04020067
2.08162155
4.37669713
2.34702174 Con 10 intervalos
5.13610167
2.86665883
6.52926488
3.79296176
8.99163195
2.71828183

43.880442 <-Suma

1.4626814
a b b-a n h xi f(xi) m
1 4 3 3 1 1 0 1
1.33 1.09137024 3
1.67 2.70456118 3
2.00 5.1217034 2
2.33 8.73755456 3
2.67 14.1160123 3
3.00 22.0662177 2
3.33 33.749314 3
3.67 50.8296186 3
4.00 75.6891075 1

a b b-a n h x1
mf(x1)
0 3 octavos
3.27411073
8.11368355
10.2434068 ex ln x
26.2126637
42.3480369
44.1324354
101.247942
152.488856
75.6891075

463.750243 <-Suma

57.9687803