Métodos en Excel

Descargar como xlsx, pdf o txt
Descargar como xlsx, pdf o txt
Está en la página 1de 8

métdo de la bisección f(x) = x^10 - 1 [0 , 1.

4]

iteración Xa Xb Xr f(Xa) f(Xr) f(Xa)f(Xr) Ea(%)


1 0 2 1 -2.1945 -0.4762 1.0451
2 1 2 1.5 -0.4762 2.2872 -1.0893 0.5
3 1.0000 1.5000 1.2500 -0.4762 1.0029 -0.4776 0.2500
4 1.0000 1.2500 1.1250 -0.4762 0.2684 -0.1278 0.1250
5 1.0000 1.1250 1.0625 -0.4762 -0.1058 0.0504 0.0625
6 1.0625 1.1250 1.0938 -0.1058 0.0812 -0.0086 0.0313
7 1.0625 1.0938 1.0781 -0.1058 -0.0124 0.0013 0.0156
8 1.0781 1.0938 1.0859 -0.0124 0.0344 -0.0004 0.0078
9 1.0781 1.0859 1.0820 -0.0124 0.0110 -0.0001 0.0039
10 1.0781 1.0820 1.0801 -0.0124 -0.0007 0.0000 0.0020
11 1.0801 1.0820 1.0811 -0.0007 0.0052 0.0000 0.0010
12 1.0801 1.0811 1.0806 -0.0007 0.0022 0.0000 0.0005
1.0801 1.0806 1.0803 -0.0007 0.0008 0.0000 0.0002
1.0801 1.0803 1.0802 -0.0007 0.0000 0.0000 0.0001
1.0801 1.0802 1.0801 -0.0007 -0.0003 0.0000 0.0001
1.0801 1.0802 1.0802 -0.0003 -0.0001 0.0000 0.0000
1.0802 1.0802 1.0802 -0.0001 -0.0001 0.0000 0.0000
Et(%)
0
50
25
12.5
6.25
9.375
7.8125
8.59375
8.203125
8.0078125
8.10546875
8.05664063
8.03222656
8.02001953
8.01391602
8.01696777
8.01849365
Método de Newton Raphson

f(x) = x3 + 2x2 + 10x -20 f’(x)=3x2 + 4xi +10

iteración Xi f(Xi) f'(Xi) f(Xi)/f'(Xi) Ea Ea(%)


0 1.5 2.875 22.75 0.12637363
1 1.37362637 0.10178868 21.1550537 0.00481155 0.12637363 9.2
2 1.36881482 0.00014159 21.0962213 6.71179E-06 0.00481155 0.35151241
3 1.36880811 2.75083E-10 21.0961393 1.30395E-11 6.71179E-06 0.00049034
4 1.36880811 0 21.0961393 0 1.30396E-11 9.52622E-10
5 1.36880811 0 21.0961393 0 0 0
6 1.36880811 0 21.0961393 0 0 0
7 1.36880811 0 21.0961393 0 0 0
8 1.36880811 0 21.0961393 0 0 0
9 1.36880811 0 21.0961393 0 0 0

ejercicio
f(x)= 2sen(x) - x f'(x)= 2 cos(x) - 1 tomando un valor en X = 3
f(X) = x2 - 3x -4
f(x)= x^2-3x-4
iteración Xi Xi-1 F(xi) F(xi-1) Xi+1 Ea
1 7 5 24 6 4.333 2.667
2 4.333 7 1.78 24 4.12 0.213
3 4.12 4.333 0.614 1.78 4.01 0.113
4 4.01 4.12 0.050 0.61 4.00 0.010
5 4 4.01 0.000 0.05 4.00 0.000
6 4 4 0.000 0.00 #DIV/0! #DIV/0!
7 -4.000 -4.00

Ahora, conociendo los valores anteriores hallamos


xi+1,
𝑥_(𝑖+1)=𝑥_𝑖−((𝑥_𝑖−𝑥_(𝑖−1) )𝑓(𝑥_𝑖))/(𝑓(𝑥_𝑖 )
−𝑓(𝑥_(𝑖−1)))
Er(%)
61.538
5.178
2.812
0.244
0.000
#DIV/0!

hallamos

𝑓(𝑥_𝑖 )
intervalos evaluar los intervalos verificar si existe una raíz |f(xm)|< e
A B f(A) f(B) f(A)*f(B) Raíz?
-1 0 -29 -20 580 No
1 4 -7 116 -812 si

iteración Xa Xb f(Xa) f(Xb) XM f(XM)


1 1 2 -7 16 1.304348 -1.33475795
2 1.30434783 2 -1.33475795 16 1.357912 -0.22913573
3 1.3579123 2 -0.22913573 16 1.366978 -0.03859188
4 1.3669778 2 -0.03859188 16 1.368501 -0.00647873
5 1.36850098 2 -0.00647873 16 1.368757 -0.00108704
6 1.36875658 2 -0.00108704 16 1.368799 -0.00018237
7 1.36879946 2 -0.00018237 16 1.368807 -3.0597E-05
8 1.36880666 2 -3.0597E-05 16 1.368808 -5.1331E-06
9 1.36880786 2 -5.1331E-06 16 1.368808 -8.6118E-07
10 1.36880807 2 -8.6118E-07 16 1.368808 -1.4448E-07
11 1.3688081 2 -1.4448E-07 16 1.368808 -2.4239E-08
12 1.36880811 2 -2.4239E-08 16 1.368808 -4.0665E-09
13 1.36880811 2 -4.0665E-09 16 1.368808 -6.8223E-10
14 1.36880811 2 -6.8223E-10 16 1.368808 -1.1445E-10
15 1.36880811 2 -1.1445E-10 16 1.368808 -1.9202E-11
𝑥_𝑀=𝑥_𝑏−├ (𝑥_𝑏−𝑥_𝑎 )
𝑓(𝑥_𝑏 )/├ 𝑓(𝑥_𝑏 )
−𝑓(𝑥_𝑎 )

|f(xm)| f(xa)*f(xr) Er(%)


1.33475795 9.34330566
0.22913573 3.94461987
0.03859188 0.6631783
0.00647873 0.11130213
0.00108704 0.01867413
0.00018237 0.00313296
3.05967E-05 0.00052561
5.13315E-06
8.61178E-07
1.44478E-07
2.42388E-08
4.0665E-09
6.82228E-10
1.14454E-10
1.92024E-11
f(x)= x^(10) - 1

También podría gustarte