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

# METODO DE LA SECANTE f(x)= ℯ^(-x) - x

## Iteracion Xi F(xi) F(xi-1) (Xi)-(Xi-1) Ea%

0 2
1 5 -4.99326205 -1.86466472 3
2 0.211980147 0.59700061 -4.99326205 -4.78801985 2258.71145421
3 0.723306886 -0.23816161 0.59700061 0.51132674 70.6929173887
4 0.577492822 -0.01618893 -0.23816161 -0.14581406 25.2495025075
5 0.566858299 0.00044665 -0.01618893 -0.01063452 1.87604607879
6 0.567143823 -8.3512E-07 0.00044665 0.00028552 0.05034428642
7 0.56714329 -4.3068E-11 -8.3512E-07 -5.3287E-07 9.3956086E-05
8 0.56714329 0 -4.3068E-11 -2.7482E-11 4.8456724E-09
9 0.56714329 0 0 0 0
10 #DIV/0! #DIV/0! 0 #DIV/0! #DIV/0!

## Iteracion Xi F(xi) F(xi-1) (Xi)-(Xi-1) Ea%

0 -3
1 -2 6 -14 1
2 -2.3 1.533 6 -0.3 13.0434783
3 -2.402955 -0.27808036 1.533 -0.1029550034 4.28451649
4 -2.38714689 0.00976752 -0.27808036 0.01580811368 0.66221789
5 -2.38768331 5.88003E-05 0.00976752 -0.0005364156 0.02246595
6 -2.38768655 -1.2558E-08 5.88003E-05 -3.2487671E-06 0.00013606
Método Raices Multiples

f(x) = x^5 -13x^4 +67x^3 - 171x^2 + 216x - 108 = 0 f'(x) = 5x^4 - 52x^3 + 201x^2 - 342x + 216 f''(x) = 20x^3 - 156x^2 + 402x

## Iteración Xi f(Xi) f'(Xi) f''(Xi) Ea(%)

0 0.5 -35.15625 89.0625 -177.5
1 2.35064935 -0.03366541 -0.03648333 0.74759108 78.729281768
2 2.30429943 -0.03117951 -0.07047424 0.70740783 2.0114539165
3 2.22298603 -0.02332608 -0.11915516 0.44547847 3.65784595
4 2.10995182 -0.00852404 -0.12631927 -0.42950074 5.3571938231
5 2.02237894 -0.00046794 -0.04038377 -1.61498427 4.3301910889
6 2.00078539 -6.1539E-07 -0.00156524 -1.98588509 1.0792536317
7 2.00000093 -7.3896E-13 -1.8538E-06 -1.99998332 0.0392233852
8 2.00000023 0 -4.5503E-07 -1.9999959 3.496976E-05
9 2.00000023 0 -4.5503E-07 -1.9999959 0

Ejercicio en Clase
Método Raices Multiples f(x) = x^3 -5x^2 +7x -3 f'(x) = 3x^2 - 10x + 7 f''(x) = 6x - 10

## Iteración Xi f(Xi) f'(Xi) f''(Xi) Ea(%)

0 0 -3 7 -10
1 1.10526316 -0.02099431 -0.38781163 -3.36842105 100
2 1.00308166 -1.8964E-05 -0.01229817 -3.98151002 10.186757216
3 1.00000238 -1.1343E-11 -9.526E-06 -3.99998571 0.3079275272
4 1 0 -1.4925E-10 -4 0.0002381457
5 1 0 -1.4925E-10 -4 0
f''(x) = 20x^3 - 156x^2 + 402x -342

f''(x) = 6x - 10
Metodos no lineales
1 2
F1 (X,Y,Z) = x^2+Y = 37 F1 (X,Y,Z) = x^2 + Y - 37 = 0 1 1
F2 (X,Y,Z) = X- Y^2 = 5 F2 (X,Y,Z) = X - Y^2 - 5 = 0 1 1
F3 (X,Y,Z) = X+Y-Z = 3 F3 (X,Y,Z) = X + Y - Z - 3= 0

## f1 x y z f1(x , y, z) f2(x , y, z) f3(x , y, z) h1

0 1 1 1 -35 -5 -2 15
1 16 6 19 225 -25 0 -5.3125
2 10.6875 -3.16666667 11.63157895 74.05598958 -4.34027778 -7.11074561 -2.69046459
3 7.997035413 2.05879934 7.125535945 29.01137473 -1.24161932 -0.06970119 -1.42005449
4 6.576980924 -1.00071333 4.638024826 5.255964752 0.575553758 -2.06175723 -0.33716027
5 6.239820656 -0.18032709 3.538370227 1.755034736 1.207302798 -0.47887666 -0.15120217
6 6.088618481 -0.91185431 3.173672116 -0.84057929 0.257140208 -0.99690794 0.0467764
7 6.135394885 -1.20902014 3.034674669 -0.56594974 -0.3263348 -1.10829992 0.04753514
8 6.182930025 -1.19467466 2.759852117 0.033949042 -0.24431751 -0.77159675 0.00570666
9 6.188636686 -1.10718907 2.45518736 0.192034964 -0.03723095 -0.37373974 -0.0112089
10 6.177427789 -1.05904971 2.253000382 0.101564373 0.055841499 -0.1346223 -0.0083844
11 6.169043385 -1.0609606 2.171157241 -0.00386431 0.043405994 -0.06307445 -0.00115666
12 6.167886727 -1.07805384 2.14717249 -0.03522717 0.005686636 -0.05733961 0.00210016
13 6.169986885 -1.08669913 2.130841255 -0.01796097 -0.01092812 -0.0475535 0.00151864
14 6.171505529 -1.08598223 2.112556201 0.001498263 -0.00785188 -0.0270329 0.00015735
15 6.171662877 -1.08281422 2.098591015 0.006608443 -0.00082376 -0.00974236 -0.00040161
16 6.171261263 -1.08128931 2.091980782 0.003176262 0.002074686 -0.00200883 -0.00027311
17 6.170988151 -1.0814693 2.090307893 -0.00037454 0.001412298 -0.00078904 -2.1495E-05
18 6.170966657 -1.08206093 2.090173051 -0.00123145 0.0001108 -0.00126732 7.62314E-05
19 6.171042888 -1.0823295 2.089930826 -0.00055918 -0.00039426 -0.00121744 4.9023E-05
20 6.171091911 -1.08228712 2.089471104 8.825261E-05 -0.0002535 -0.00066631 2.49539E-06

Matriz inversa 15
Matriz inversa * Funcion
0.4 0.2 0 negativa 5
0.2 -0.4 0 18
0.6 -0.2 -1

## Ejercicio en clase F1(x,y,z)= x^2+xy-10 = 0 Ea<0.5%

F2(x,y,z)= y+3xy^2-57= 0

## Iteraciones x y f1(x , y, z) f2(x , y, z) h1 h2

0 1.5 3.5 -2.5 1.625 0.536028823 -0.6561249
1 2.036028823 2.8438751 -0.06437496 -4.7562085 -0.03732821 0.158413463
2 1.998700609 3.00228856 -0.0045199 0.04957115 0.001299375 -0.00228915
3 1.999999984 2.99999941 -0.00000129 -0.00002214 0.000000016 0.000000587
4 2 3 0 0.00000000 0 0
5 2 3 0 0.00000000 0 0
1 0 35
-2 0 5
1 -1 2

h2 h3
5 18
-9.16666667 -7.368421052632
5.22546601 -4.506043002137
-3.05951267 -2.487511119162
0.82038624 -1.099654598956
-0.73152722 -0.364698111414
-0.29716583 -0.138997447119
0.01434548 -0.2748225515
0.08748559 -0.304664757092
0.04813936 -0.202186978073
-0.00191089 -0.081843140898
-0.01709325 -0.023984751484
-0.00864529 -0.016331235005
0.0007169 -0.018285053969
0.00316801 -0.013965185255
0.00152491 -0.006610233623
-0.00017999 -0.001672888844
-0.00059163 -0.000134842322
-0.00026857 -0.000242224959
4.23805E-05 -0.000459721452
0.00011 -0.000368498151

## valores Derivada de x Derivada de Y Funcion negativa

1.5 6.5 1.5 2.5
3.5 36.75 32.5 -1.625

## Matriz inversa MI*FN

0.20816653 -0.009607686149 0.536028823058447
-0.23538831 0.041633306645 -0.65612489991994