1 Entrega Comentada

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 17

ERRO ABS.

ERRO REL ABS (F(x))


Iteração x F(x) TIPO (3) TIPO (2) TIPO (1) X β(x)
0 1 -0.172423 1 1 0.172423 1 1.1940688187
1 1.194069 -0.064893 0.194068819 0.162527 0.064893 1.1940688187 1.2629719913
2 1.262972 -0.020174 0.068903173 0.054556 0.020174 1.2629719913 1.2840715226
3 1.284072 -0.005905 0.021099531 0.016432 0.005905 1.2840715226 1.290221996
4 1.290222 -0.001698 0.006150473 0.004767 0.001698 1.290221996 1.2919885281
5 1.291989 -0.000486 0.001766532 0.001367 0.000486 1.2919885281 1.2924937397
6 1.292494 -0.000139 0.000505212 0.000391 0.000139 1.2924937397 1.2926380481
F(x)= f© ERRO
Iteração Valor [a] Valor[b] f(a) f(b) Valor[c] f(c) f(a).f(c) f(b).f(c) abs (F(x))
0 1 2 -0.172423 0.551482 1.5 0.152393 NEG POS 0.15239295848
1 1 1.5 -0.172423 0.152393 1.25 -0.028818 POS NEG 0.02881756554
2 1.25 1.5 -0.028818 0.152393 1.375 0.058292 NEG POS 0.05829188782
3 1.25 1.375 -0.028818 0.058292 1.3125 0.013713 NEG POS 0.01371258184
4 1.25 1.3125 -0.028818 0.013713 1.28125 -0.007827 POS NEG 0.00782749517
5 1.28125 1.3125 -0.007827 0.013713 1.296875 0.002876 NEG POS 0.00287615009
6 1.28125 1.296875 -0.007827 0.002876 1.289063 -0.002493 POS NEG 0.00249256556
7 1.289063 1.296875 -0.002493 0.002876 1.292969 0.000188 NEG POS 0.00018760585
8 1.289063 1.292969 -0.002493 0.000188 1.291016 -0.001154 POS NEG 0.00115353107
9 1.291016 1.292969 -0.001154 0.000188 1.291992 -0.000483 POS NEG 0.00048322484
10 1.291992 1.292969 -0.000483 0.000188 1.29248 -0.000148 POS NEG 0.00014787498

N = 9.9658
ERRO
b-a
0.25
0.125
0.0625
0.03125
0.015625
0.007813
0.003906
0.001953
0.000977
0.000488
1.29248
ENTREGA _2

F(x)= e^(-x)-cos(x) Erro = 0.001


F'(x)= - e^(-x) + sen(x) ERRO (1)
Iterações (n) x F(x) F'(x) abs|xn-xn-1|
0 1 -0.172423 0.473591544 1
1 1.364075 0.050365 0.723092139 0.364075049509447
2 1.294423 0.001187 0.687995375 0.0696521288021517
3 1.292697 8.157E-07 0.687049535 0.0017260140283399
4 1.292696 3.87E-13 0.687048883 1.187304993655E-06
5 1.292696 0 0.687048883 5.633271626948E-13
6 1.292696 0 0.687048883 0
7 1.292696 0 0.687048883 0
8 1.292696 0 0.687048883 0
9 1.292696 0 0.687048883 0
10 1.292696 0 0.687048883 0
ERRO(2) ERRO(3)
abs|xn-xn-1|/abs|xn| abs|F(xn)
1 0.172422864697
0.266902506310321 0.050364906804
0.0538094062519324 0.001187489669
0.00133520395958416 8.15737343E-07
9.18472132196776E-07 3.87023746E-13
4.35777077507353E-13 0
0 0
0 0
0 0
0 0
0 0
Iter.(n) a f(a) b f(b) xn f(xn) |f(xn)|
0 1 -0.1724 2 0.55148 1.23818438661594 -0.036603 0.0366
1 1.23818 -0.0366 2 0.55148 1.28560032729423 -0.004861 0.00486
2 1.2856 -0.0049 2 0.55148 1.29184231562922 -0.000586 0.00059
3 1.29184 -0.0006 2 0.55148 1.29259416556599 -7E-05 7E-05
4 1.29259 -7E-05 2 0.55148 1.29268365020368 -8.29E-06 8.3E-06
5 1.29268 -8E-06 2 0.55148 1.29269428523243 -9.85E-07 9.9E-07
6 1.29269 -1E-06 2 0.55148 1.29269554896211 -1.17E-07 1.2E-07
7 1.2927 -1E-07 2 0.55148 1.29269569912438 -1.39E-08 1.4E-08
8 1.2927 -1E-08 2 0.55148 1.29269571696732 -1.65E-09 1.7E-09
9 1.2927 -2E-09 2 0.55148 1.2926957190875 -2E-10 2E-10
10 1.2927 -2E-10 2 0.55148 1.29269571933943 -2.33E-11 2.3E-11
11 1.2927 -2E-11 2 0.55148 1.29269571936936 -2.77E-12 2.8E-12
12 1.2927 -3E-12 2 0.55148 1.29269571937292 -3.3E-13 3.3E-13
13 1.2927 -3E-13 2 0.55148 1.29269571937334 -3.9E-14 3.9E-14
ERRO = 10^(-3) = 0.01

RAIZ Nº ITERAÕES ERRO


PONTO_FIXO 1.2919 5 0.0004857375888
BISSECÇÂO 1.2929 7 0.0001876058478
NEWTON_RAPHSON 1.2926 3 8.1573734328E-07
CORDAS 1.2856 2 0.0005861300214
Exercício Prático

y =3x^3 + x^2 - x -1
ERRO = 10^-2 ERRO=10^-3

Iter.(n) a f(a) b f(b) xn f(xn) |f(xn)|


0 0.00000 -1.00000 1.00000 2.00000 0.33333 -1.11111 1.11111
1 0.33333 -1.11111 1.00000 2.00000 0.57143 -0.68513 0.68513
2 0.57143 -0.68513 1.00000 2.00000 0.68078 -0.27076 0.27076
3 0.68078 -0.27076 1.00000 2.00000 0.71885 -0.08774 0.08774
4 0.71885 -0.08774 1.00000 2.00000 0.73066 -0.02657 0.02657
5 0.73066 -0.02657 1.00000 2.00000 0.73419 -0.00788 0.00788
6 0.73419 -0.00788 1.00000 2.00000 0.73524 -0.00232 0.00232
7 0.73524 -0.00232 1.00000 2.00000 0.73554 -0.00068 0.00068
8 0.73554 -0.00068 1.00000 2.00000 0.73563 -0.00020 0.0002
9 0.73563 -0.00020 1.00000 2.00000 0.73566 -0.00006 5.9E-05
10 0.73566 -0.00006 1.00000 2.00000 0.73567 -0.00002 1.7E-05
11 0.73567 -0.00002 1.00000 2.00000 0.73567 -0.00001 5.1E-06
12 0.73567 -0.00001 1.00000 2.00000 0.73567 0.00000 1.5E-06
13 0.73567 0.00000 1.00000 2.00000 0.73567 0.00000 4.4E-07
14 0.73567 0.00000 1.00000 2.00000 0.73567 0.00000 1.3E-07
15 0.73567 0.00000 1.00000 2.00000 0.73567 0.00000 3.8E-08

You might also like