You are on page 1of 3

f(x)=ex-3x

iteration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Bisection method(1-2 aras kk)


xk

xort

xb

1.000000
1.500000
1.500000
1.500000
1.500000
1.500000
1.500000
1.507813
1.511719
1.511719
1.511719
1.511719
1.511963
1.512085
1.512085
1.512115

1.500000
1.750000
1.625000
1.562500
1.531250
1.515625
1.507813
1.511719
1.513672
1.512695
1.512207
1.511963
1.512085
1.512146
1.512115
1.512131

2.000000
2.000000
1.750000
1.625000
1.562500
1.531250
1.515625
1.515625
1.515625
1.513672
1.512695
1.512207
1.512207
1.512207
1.512146
1.512146

f(x)=ex-3x
iteration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

f(xk)
-0.281718
-0.018311
-0.018311
-0.018311
-0.018311
-0.018311
-0.018311
-0.006598
-0.000638
-0.000638
-0.000638
-0.000638
-0.000264
-0.000076
-0.000076
-0.000029

f(xort)
-0.018311
0.504603
0.203419
0.083233
0.030203
0.005390
-0.006598
-0.000638
0.002367
0.000862
0.000111
-0.000264
-0.000076
0.000018
-0.000029
-0.000006

f(xb)
1.389056
1.389056
0.504603
0.203419
0.083233
0.030203
0.005390
0.005390
0.005390
0.002367
0.000862
0.000111
0.000111
0.000111
0.000018
0.000018

Bisection method(0-1 aras kk)


xk

xort

xb

0.000000
0.500000
0.500000
0.500000
0.562500
0.593750
0.609375
0.617188
0.617188
0.617188
0.618164
0.618652
0.618896
0.619019
0.619019
0.619049

0.500000
0.750000
0.625000
0.562500
0.593750
0.609375
0.617188
0.621094
0.619141
0.618164
0.618652
0.618896
0.619019
0.619080
0.619049
0.619064

1.000000
1.000000
0.750000
0.625000
0.625000
0.625000
0.625000
0.625000
0.621094
0.619141
0.619141
0.619141
0.619141
0.619141
0.619080
0.619080

f(xk)
1.000000
0.148721
0.148721
0.148721
0.067555
0.029516
0.011156
0.002145
0.002145
0.002145
0.001026
0.000468
0.000188
0.000049
0.000049
0.000014

f(xort)
0.148721
-0.133000
-0.006754
0.067555
0.029516
0.011156
0.002145
-0.002319
-0.000091
0.001026
0.000468
0.000188
0.000049
-0.000021
0.000014
-0.000003

f(xb)
-0.281718
-0.281718
-0.133000
-0.006754
-0.006754
-0.006754
-0.006754
-0.006754
-0.002319
-0.000091
-0.000091
-0.000091
-0.000091
-0.000091
-0.000021
-0.000021

k)

f(x)=ex-3x
error
<0.00001
0.018311
0
0.504603
0
0.203419
0
0.083233
0
0.030203
0
0.005390
0
0.006598
0
0.000638
0
0.002367
0
0.000862
0
0.000111
0
0.000264
0
0.000076
0
0.000018
0
0.000029
0
0.000006
1

k)

iteration
1
2
3
4
5

7
6
5
4
3
2
1
0
-2.5 -2 -1.5 -1 -0.5-1 0

f(x)=ex-3x
error
<0.00001
0.148721
0
0.133000
0
0.006754
0
0.067555
0
0.029516
0
0.011156
0
0.002145
0
0.002319
0
0.000091
0
0.001026
0
0.000468
0
0.000188
0
0.000049
0
0.000021
0
0.000014
0
0.000003
1

x
2.000000
1.322595
1.440350
1.503580
1.512025

Modified Newton method(1-2 aras


xi+1
u(x)
u'(x)
0.316482 0.467197 1.322595
-0.284986 2.420166 1.440350
-0.080903 1.279490 1.503580
-0.008665 1.026020 1.512025
-0.000110 1.000324 1.512135

iteration
1
2
3

0.5

1.5

2.5

Modified Newton method(0-1 aras


xi+1
x
u(x)
u'(x)
0.000000 -0.500000 0.750000 0.666667
0.666667 0.049670 1.091939 0.621179
0.621179 0.002121 1.003466 0.619065

on method(1-2 aras kk)


f(xi+1)
error
-0.214637 0.214637
-0.098877 0.098877
-0.012977 0.012977
-0.000168 0.000168
0.000000 0.000000

2.5

<0.00001
0
0
0
0
1

Grafik deerleri
x
fx
-2
6.1353353
-1.5
4.7231302
-1
3.3678794
-0.5
2.1065307
0
1
0.5
0.1487213
1
-0.281718
1.5
-0.018311
2
1.3890561

on method(0-1 aras kk)


f(xi+1)
error
-0.052266 0.052266
-0.002416 0.002416
-0.000004 0.000004

<0.00001
0
0
1

You might also like