Sunteți pe pagina 1din 2

f(x)=senx+cos(1+x^2)-1

Hacemos: f(x)=0
Sumamos x en
ambos lados
Hacemos x = G(x)
Derivamos G(x): G'(x)
|G'(x)|<1?

senx+cos(1+x^2)-1=0
senx+cos(1+x^2)-1+x=x

O despejamos la x ms sencilla

G'(x)=cosx-2x*sen(1+x^2)+1
Converge?

Iteraciones i

xi

xi

|G'(x)|<1

Convergencia

x0

4.4195502621

NO

x1

NO CONVERGE
f(x)EXP(X)-3*X
G(x)=EXP(X)/3
G'(x)=EXP(X)/3
Iteraciones i

xi

xi

|G'(x)|<1

Convergencia

x0=0.5

0.5

0.5495737569

SI

x1

0.54957376 0.5775047961

SI

x2

0.5775048 0.5938624853

SI

x3

0.59386249 0.6036565894

SI

x4

0.60365659 0.6095979123

SI

x5

0.60959791 0.6132305109

SI

x6

0.61323051 0.6154621821

SI

Iteraciones i

xi

xi

|G'(x)|<1

Convergencia

x0=0.5

1.03

0.9336886116

SI

x1

0.93368861 0.8479584203

SI

x2

0.84795842 0.7782917163

SI

x3

0.77829172 0.7259162911

SI

x4

0.72591629 0.6888746205

SI

x5

0.68887462 0.6638243696

SI

x6

0.66382437 0.6474019541

SI

mos la x ms sencilla

Error

Error(%)

Error

9.02040104 0.04957376
4.83650341 0.02793104
2.75445742 0.01635769
1.62246288

0.0097941

0.9746298

0.00594132

0.59237082

0.0036326

Error(%)

Error

10.3151508 0.09631139
10.1101881 0.08573019
8.95123287

0.0696667

7.21507781 0.05237543
5.37712806 0.03704167
3.77362629 0.02505025

S-ar putea să vă placă și