Archivo Examen

Скачать как xlsx, pdf или txt
Скачать как xlsx, pdf или txt
Вы находитесь на странице: 1из 22

iteraciones Xa Xb Xr f(Xa) f(Xr) f(Xa)*f(Xr)

1 1 3 2 -47.2817182 10.2566108 -484.95018


2 1 2 1.5 -47.2817182 -35.2218878 1665.35137
3 1.5 2 1.75 -43.2774664 -35.2218878 1524.31407
4 1.75 2 1.875 -39.9294453 -35.2218878 1406.39044
5 1.875 2 1.9375 -37.7734641 -35.2218878 1330.45272
6 1.9375 2 1.96875 -36.5510843 -35.2218878 1287.39819
7 1.96875 2 1.984375 -35.9003662 -35.2218878 1264.47867
8 1.984375 2 1.9921875 -35.5646652 -35.2218878 1252.65465
9 1.9921875 2 1.99609375 -35.3941697 -35.2218878 1246.64948
10 1.99609375 2 1.99804688 -35.3082532 -35.2218878 1243.62333
11 1.99804688 2 1.99902344 -35.2651267 -35.2218878 1242.10434
12 1.99902344 2 1.99951172 -35.2435213 -35.2218878 1241.34335
13 1.99951172 2 1.99975586 -35.2327081 -35.2218878 1240.96249
14 1.99975586 2 1.99987793 -35.2272988 -35.2218878 1240.77197
15 1.99987793 2 1.99993896 -35.2245935 -35.2218878 1240.67668
16 1.99993896 2 1.99996948 -35.2232407 -35.2218878 1240.62903
17 1.99996948 2 1.99998474 -35.2225643 -35.2218878 1240.60521
18 1.99998474 2 1.99999237 -35.222226 -35.2218878 1240.59329
19 1.99999237 2 1.99999619 -35.2220569 -35.2218878 1240.58734
20 1.99999619 2 1.99999809 -35.2219724 -35.2218878 1240.58436
21 1.99999809 2 1.99999905 -35.2219301 -35.2218878 1240.58287
22 1.99999905 2 1.99999952 -35.2219089 -35.2218878 1240.58212
23 1.99999952 2 1.99999976 -35.2218984 -35.2218878 1240.58175
24 1.99999976 2 1.99999988 -35.2218931 -35.2218878 1240.58157
25 1.99999988 2 1.99999994 -35.2218904 -35.2218878 1240.58147
26 1.99999994 2 1.99999997 -35.2218891 -35.2218878 1240.58143
27 1.99999997 2 1.99999999 -35.2218885 -35.2218878 1240.5814
28 1.99999999 2 1.99999999 -35.2218881 -35.2218878 1240.58139
29 1.99999999 2 2 -35.221888 -35.2218878 1240.58139
30 2 2 2 -35.2218879 -35.2218878 1240.58138
Ea% Et%
100 usar geogebra para ver como es la grafica y ver
33.3333333 50 por donde pasa una de sus raices y asi tomar los
intervalos de Xa y Xb
14.2857143 75 En f(Xa) se debe evaluar la funcion usada con el
6.66666667 87.5 valor de Xa al igual para f(xb) pero con Xb.
3.22580645 93.75
No olvidar arrastrar los valores desde Xa a la
1.58730159 96.875 multiplicacion para abajo al tener todos los datos.
0.78740157 98.4375
0.39215686 99.21875
0.19569472 99.609375
0.09775171 99.8046875
0.04885198 99.9023438
0.02442002 99.9511719
0.01220852 99.9755859
0.00610389 99.987793
0.00305185 99.9938965
0.0015259 99.9969482
0.00076295 99.9984741
0.00038147 99.9992371
0.00019074 99.9996185
9.53675E-05 99.9998093
4.76837E-05 99.9999046
2.38419E-05 99.9999523
1.19209E-05 99.9999762
5.96046E-06 99.9999881
2.98023E-06 99.999994
1.49012E-06 99.999997
7.45058E-07 99.9999985
3.72529E-07 99.9999993
1.86265E-07 99.9999996
9.31323E-08 99.9999998
iteraciones Xa Xb Xr f(Xa) f(Xr) f(Xa)*f(Xr)
1 2 4 3 -35.2218878 168.3926 -5931.10527
2 2 3 2.5 -35.2218878 10.2566108 -361.257194
3 2 2.5 2.25 -35.2218878 -19.5437651 688.368302
4 2.25 2.5 2.375 -28.6525944 -19.5437651 559.979574
5 2.375 2.5 2.4375 -24.4663437 -19.5437651 478.164474
6 2.4375 2.5 2.46875 -22.1042897 -19.5437651 432.001046
7 2.46875 2.5 2.484375 -20.8497949 -19.5437651 407.483493
8 2.484375 2.5 2.4921875 -20.2033456 -19.5437651 394.849441
9 2.4921875 2.5 2.49609375 -19.8752125 -19.5437651 388.436484
10 2.49609375 2.5 2.49804688 -19.709905 -19.5437651 385.205754
11 2.49804688 2.5 2.49902344 -19.6269394 -19.5437651 383.584293
12 2.49902344 2.5 2.49951172 -19.5853784 -19.5437651 382.772034
13 2.49951172 2.5 2.49975586 -19.5645783 -19.5437651 382.365522
14 2.49975586 2.5 2.49987793 -19.5541733 -19.5437651 382.16217
15 2.49987793 2.5 2.49993896 -19.5489696 -19.5437651 382.06047
16 2.49993896 2.5 2.49996948 -19.5463675 -19.5437651 382.009614
17 2.49996948 2.5 2.49998474 -19.5450663 -19.5437651 381.984185
18 2.49998474 2.5 2.49999237 -19.5444157 -19.5437651 381.97147
19 2.49999237 2.5 2.49999619 -19.5440904 -19.5437651 381.965112
20 2.49999619 2.5 2.49999809 -19.5439278 -19.5437651 381.961933
21 2.49999809 2.5 2.49999905 -19.5438464 -19.5437651 381.960344
22 2.49999905 2.5 2.49999952 -19.5438058 -19.5437651 381.959549
23 2.49999952 2.5 2.49999976 -19.5437854 -19.5437651 381.959152
24 2.49999976 2.5 2.49999988 -19.5437753 -19.5437651 381.958953
25 2.49999988 2.5 2.49999994 -19.5437702 -19.5437651 381.958854
26 2.49999994 2.5 2.49999997 -19.5437676 -19.5437651 381.958804
27 2.49999997 2.5 2.49999999 -19.5437664 -19.5437651 381.958779
28 2.49999999 2.5 2.49999999 -19.5437657 -19.5437651 381.958767
29 2.49999999 2.5 2.5 -19.5437654 -19.5437651 381.95876
30 2.5 2.5 2.5 -19.5437653 -19.5437651 381.958757
Ea% Et%
200
20 150
11.1111111 125
5.26315789 137.5
2.56410256 143.75
1.26582278 146.875
0.62893082 148.4375
0.31347962 149.21875
0.15649452 149.609375
0.07818608 149.804688
0.03907776 149.902344
0.01953507 149.951172
0.00976658 149.975586
0.00488305 149.987793
0.00244147 149.993896
0.00122072 149.996948
0.00061036 149.998474
0.00030518 149.999237
0.00015259 149.999619
7.6294E-05 149.999809
3.8147E-05 149.999905
1.90735E-05 149.999952
9.53674E-06 149.999976
4.76837E-06 149.999988
2.38419E-06 149.999994
1.19209E-06 149.999997
5.96046E-07 149.999999
2.98023E-07 149.999999
1.49012E-07 150
7.45058E-08 150
En f(A) y en f(B) s

1a 2.1 fa 0.505598 c 2.4228494


b 3.1416 fb -1.125599

2a 2.4228494 fa 0.4910375 c 2.6411629


b 3.1416 fb -1.125599

3a 2.4228494 fa 0.4910375 c 2.5174911


b 2.6411629 fb -0.641657

4a 2.5174911 fa 0.0779646 c 2.5308899


b 2.6411629 fb -0.641657

5a 2.5308899 fa 0.007128 c 2.5321014


b 2.6411629 fb -0.641657

6a 2.5321014 fa 0.0005998 c 2.5322033


b 2.6411629 fb -0.641657
En f(A) y en f(B) se pinen la funcion a evaluar.

fc 0.49103749667

fc -0.6416568195
ε 0.21831350127

fc 0.07796462576
ε 0.12367180172

fc 0.00712800477
ε 0.01339874708

fc 0.0005997816
ε 0.00121153706

fc 5.0085064E-05
ε 0.00010184884
1 X0 0 F0 -3 X2 1.6291324 F2
X1 1 F1 -1.158529

2 X1 1 F1 -1.158529 X3 1.9273599 F3
X2 1.6291324 F2 -0.372569 ε

3 X2 1.6291324 F2 -0.372569 X4 2.0978917 F4


X3 1.9273599 F3 -0.135538 ε

4 X3 1.9273599 F3 -0.135538 X5 2.1639327 F5


X4 2.0978917 F4 -0.037836 ε

5 X4 2.0978917 F4 -0.037836 X6 2.1785988 F6


X5 2.1639327 F5 -0.006876 ε

6 X5 2.1639327 F5 -0.006876 X7 2.1797397 F7


X6 2.1785988 F6 -0.000496 ε

7 X6 2.1785988 F6 -0.000496 X8 2.179757 F8


X7 2.1797397 F7 -7.43E-06 ε
-0.37256869

-0.13553822
0.29822755

-0.03783647
0.17053180

-0.00687565
0.06604100

-0.00049626
0.01466610

-0.00000743
0.00114088

-0.00000001
0.00001733
Error % Error %
x0 1.000000 x0 3.000000
x1 3.912023 0.7444 x1 2.813411 0.0663
x2 2.547968 0.5353 x2 2.877625 0.0223
x3 2.976727 0.1440 x3 2.855058 0.0079
x4 2.821199 0.0551 x4 2.862931 0.0028
x5 2.874861 0.0187 x5 2.860177 0.0010
x6 2.856019 0.0066 x6 2.861139 0.0003
x7 2.862594 0.0023 x7 2.860803 0.0001
x8 2.860295 0.0008 x8 2.860921 0.0000
x9 2.861098 0.0003 x9 2.860880 0.0000
x10 2.860817 0.0001 x10 2.860894 0.0000
x11 2.860916 0.0000 x11 2.860889 0.0000
x12 2.860881 0.0000 x12 2.860891 0.0000
x13 2.860893 0.0000 x13 2.860890 0.0000
x14 2.860889 0.0000 x14 2.860890 0.0000
x15 2.860891 0.0000 x15 2.860890 0.0000
x16 2.860890 0.0000 x16 2.860890 0.0000
iteración x f f´ error
0 3 10.2566 80.3421
1 2.87234 0.77808 68.4564 -0.12766
2 2.86097 0.00554 67.4841 -0.01137
3 2.86089 2.86E-07 67.4771 -8E-05
4 2.86089 0 67.4771 -4E-09
5 2.86089 0 67.4771 0
6 2.86089 0 67.4771 0
ITERACION 1 ITERACION 2
x0 0 f0 -3 x1 1
x1 1 f1 -1.158529 x2 2
x2 2 f2 -0.0907026 x3 2.1451581

a0 -3 A -0.3868223 a0 -1.158529
a1 1.841471 B 2.2282933 a1 1.0678264
a2 -0.3868223 C -3 a2 -0.4788802

z1 2.1451581 fz1 -0.0153027 z1 2.1804995


z2 3.6153511 fz2 0.1591171 z2 3.0493409

ITERACION 3 ITERACION 4
X2 2 f2 -0.0907026 X2 2.1451581
X3 2.1451581 f3 -0.0153027 X3 2.1804995
X4 2.1804995 f4 0.0003175 X4 2.1797561

a0 -0.0907026 A -0.4291015 a0 -0.0153027


a1 0.5194329 B 2.2981265 a1 0.4419803
a2 -0.4291015 C -2.9705495 a2 -0.4133091

z1 2.1797561 fz1 -4.062E-07 z1 2.1797571


z2 3.1759149 fz2 0.1415994 z2 3.2152705
ITERACION 2
f1 -1.158529
f2 -0.0907026
f3 -0.0153027

A -0.4788802
B 2.504467
C -3.1841158

fz1 0.0003175
fz2 0.1414619

ITERACION 4
f2 -0.0153027
f3 0.0003175
f4 -4.062E-07

A -0.4133091
B 2.2298137
C -2.8966801

fz1 -2.296E-12
fz2 0.1416593
w x y z Coeficientes
1 1 0 0 5 1
0 1 -1 0 1 0
0 0 1 1 5 0
0 1 0 -1 2 0
1 0 0 5 1 0 1
1 -1 0 1 0 1 -1
0 1 1 5 0 0 1
1 0 -1 2 0 0 1
0 4 1 0 0 -1 -1
0 1 0 1 0 1 6
1 5 0 0 1 1 5
-1 1 0 0 0 -2 -4
w x y z coeficientes
1 0 0 0 1
0 1 0 0 4
0 0 1 0 3
0 0 0 1 2
x y
0 0
-1.000 0.333
-0.778 0.333
-0.778 1.000
-0.333 0.852
-0.432 0.852
-0.432 0.556
-0.630 0.621
-0.586 0.621
-0.586 0.753
-0.498 0.724
-0.517 0.724
-0.517 0.665
-0.556 0.678
z
0
0.000
-0.667
-0.519
-0.519 0.444 -0.148 0.000
-0.222 -0.099 0.000 0.296
-0.288 0.000 -0.296 -0.066
-0.288 -0.198 0.066 0.000
-0.420 0.044 0.000 -0.132
-0.390 0.000 0.132 0.029
-0.390 0.088 -0.029 0.000
-0.332 -0.020 0.000 0.059
-0.345 0.000 -0.059 -0.013
-0.345 -0.039 0.013 0.000
2 1
1 1.3333 -0.75
2 0.4468 0.6574
3 -0.1227 1.2277
4 0.1741 1.2505
5 0.198 1.2487
0.1995 1.2481
0.1991 1.248
0.1991 1.248
0.1991 1.248
0.1991 1.248
0.1991 1.248
0.1991 1.248
0.1991 1.248
f1 f2 f1x f1y f2x f2y
-3 1 4 2 -2 3

f1 f2 f1k1 f1k2 f2k1 f2k2


-3 1 4 2 -2 3

Una vez realizado esto tomamos la ecuacion de N.R.


Multivariable para un sistema de 2x2:

𝑘_1^1=𝑘_1^0− (𝑓_2 𝑘_2 𝑓_1^°−𝑓_1 𝑘_2 𝑓_2^°)/(𝑓_1 𝑘_1


𝑓_2 𝑘_2−𝑓_1 𝑘_2 𝑓_2 𝑘_1 )

𝑘_(2 )^1=𝑘_2^0− (𝑓_1 𝑘_1 𝑓_2^°−𝑓_2 𝑘_1


𝑓_1^°)/(𝑓_1 𝑘_1 𝑓_2 𝑘_2−𝑓_1 𝑘_2 𝑓_2 𝑘_1 )
Entonces:

x1 y1
1.6875 1.125

Dados estos nuevos valores, deberan sustituirse de nueva


manera en las funciones con las mismas ecuaciones
dadas para encontrar 𝑥^𝑛 𝑒 𝑦^𝑛.
Entonces:
Newton Raphson Multivariable
k1_0 k2_0 f1 f2 f1k1
1 1 -3 1 4
1.6875 1.125 1.94116211 -0.60180664 9.80859375
1.50300981 1.09034709 0.1822204 -0.04975558 7.96597222
1.48256242 1.08444733 0.00219133 -0.00056864 7.77000001
1.48231345 1.08436745 3.28264E-07 -8.1162E-08 7.7676123
1.48231342 1.08436744 0 0 7.76761194
1.48231342 1.08436744 0 0 7.76761194
1.48231342 1.08436744 0 0 7.76761194

x0 y0
1 1

k1_0 k2_0
1 1
Multivariable
f1k2 f2k1 f2k2
2 -2 3
3.796875 -3.796875 2.84765625
3.27760475 -3.27760475 2.92602769
3.21552173 -3.21552173 2.90336178
3.21474493 -3.21474493 2.90297275
3.21474481 -3.21474481 2.90297267
3.21474481 -3.21474481 2.90297267
3.21474481 -3.21474481 2.90297267

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