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

# NAMA: ICHSAN ZEIN DALIMUNTHE

NIM:4203230031

## NOMOR 5 METODE SECAN

f(x)= x^3 - 6*x^2 + 11*x -5,9 = 0
iterasi Xi-1 Xi
f(x i )(x i  x i-1 ) 1 2.7 3.7
x i 1  xi 
f(x i ) - f(x i -1 ) 2 3.7 2.7719887955182
3 2.771988795518 2.8222594139273
4 2.822259413927 2.8194138777413
5 2.819413877741 2.8195748487264
6 2.819574848726 2.819565742284
7 2.819565742284 2.8195662574521

## metode newton rapshon

fx=x^3-6x^2+11x-5.9 iterasi xi xi+1 f(xi) f'(xi)
f'x= 3x^2-12x+11 1 3.7 3.268057 3.313 7.67
xi=3.7 2 3.268057 3.040295 0.870938782263 3.823905665747
3 3.040295 2.957716 0.185526487544 2.246641061075
4 2.957716 2.945887 0.020720208854 1.751659809968

metode iterasi

## fx=x^3-6x^2+11x-5.9 iterasi xi+1 f(xi+1)

1 4 2.37
x=f(x) 2 2.37 1.32
3 1.32 0.20
𝑥=(−𝑥^3+ 〖 6𝑥 〗 ^2−5.9)/11 4 0.2 -0.52
METODE SECANT

## f(Xi-1)) f(X1) Xi+1 f(Xi+1)

-0.257 3.313 2.7719887955182 -0.21190918030309
3.313 -0.2119091803 2.8222594139273 -0.16632115443883
-0.2119091803 -0.1663211544 2.8194138777413 -0.16922735865623
-0.16632115444 -0.1692273587 2.8195748487264 -0.16906401929849
-0.16922735866 -0.1690640193 2.819565742284 -0.16907326312436
-0.1690640193 -0.1690732631 2.8195662574521 -0.16907274019519
-0.16907326312 -0.1690727402 2.8195662283081 -0.16907276977828

f(xi+1)
0.870940183199
0.185527439322
0.020719339231
0.000400364

galat(%)

69
80
112
NOMOR 1
METODE NEWTON RAPSON

## 𝑓(𝑥)=0.9𝑥^2+1.7x+2.5=0 iterasi xi xi+1 f(xi)

𝑓′(𝑥)=1.8𝑥+1.7 1 3.000 0.789 15.700
2 0.788 -0.622 4.398
xi=3 3 -0.622 -3.707 1.791
4 -3.707 -1.984 8.566
5 -1.984 -0.557 2.670
6 -0.557 -3.184 1.832
7 -3.184 -1.643 6.211
8 -1.643 0.056 2.136
9 0.056 -1.387 2.598
10 -1.380 1.003 1.868
11 1.002 -0.456 5.107
12 -0.455 -2.626 1.913
13 -2.626 -1.224 4.242
14 -1.224 2.289 1.768

Metode secant

iterasi x1 x2 x3
1 -0.500 -1.500 18.250
2 -1.500 18.250 -1.618
3 18.250 -1.617 -1.743
𝑓(𝑥)=0.9𝑥^2+1.7x+2.5=0 4 -1.617 -1.743 -0.028
5 -1.743 -0.028 -23.149
x1=-0.5 6 -0.028 -23.149 0.100
x2=-1.5 7 -23.149 0.100 0.241
8 0.100 0.241 -1.235
9 0.241 -1.235 -3.437
10 -1.235 -3.437 -0.527
11 -3.437 -0.527 0.466
12 -0.527 0.466 -1.654
13 0.466 -1.564 -4.434
14 -1.564 -4.434 -1.012
15 -4.434 -1.012 -0.481
16 -1.012 -0.481 -5.787
17 -0.481 -5.787 -0.001
18 -5.787 -0.001 0.711
19 -0.001 0.711 -1.069
20 0.711 -1.069 -2.311
21 -1.069 -2.311 0.206
22 -2.311 0.206 15.056
23 0.206 15.056 0.019
24 15.056 0.019 -0.147

Metode Iterasi

## iterasi xi+1 F(xi+1)

1 0.4 -1.555
2 -1.555 -4.306
3 -4.306 -12.652
4 -12.652 -95.926

𝑓(𝑥)=0.9𝑥^2+1.7x+2.5=0
x=f(x)

2.5" )/1.7

xi+1=3
f'(xi) f(xi+1)
7.100 4.401
3.118 1.791
0.580 8.568
-4.973 2.671
-1.871 1.832
0.697 6.213
-4.031 2.137
-1.257 2.598
1.801 1.873
-0.784 5.109
3.504 1.912
0.881 4.243
-3.027 1.768
-0.503 11.105

## f(x1) F(x2) f(x3)

1.875 1.975 333.281
1.975 333.281 2.105
333.281 2.104 2.271
2.104 2.271 2.454
2.271 2.453 445.423
2.453 445.435 2.679
445.435 2.679 2.961
2.679 2.962 1.773
2.962 1.773 7.287
1.773 7.289 1.854
7.289 1.854 3.487
1.854 3.488 2.150
3.488 2.043 12.655
2.043 12.657 1.701
12.65652 1.701 1.891
1.701 1.891 22.802
1.891 22.803 2.498
22.803 2.498 4.163
2.498 4.164 1.711
4.164 1.711 3.378
1.711 3.378 2.889
3.378 2.888 232.120
2.888 232.110 2.532
232.110 2.533 2.270

galat(%)

1
5
13
Nomor 3
Metode Newton Rapshon
𝑓𝑥=9.34−21.97x+16.3𝑥^2+3.07𝑥^3=0
xi=1 iterasi xi xi+1 F(xi)
𝑓^′ (𝑥)=−21.97+32,6𝑥+9.21𝑥^2 1 1.000 0.660 6.740
2 0.660 -0.133 2.823
3 -0.133 0.347 12.543
4 0.347 0.746 3.807
5 0.746 0.305 3.296
6 0.305 0.685 4.243
7 0.685 0.060 2.926
8 0.060 0.464 8.081
9 0.464 1.073 2.962
10 1.073 0.720 8.325
11 0.720 0.223 3.117
12 0.223 0.594 5.285
13 0.594 -3.574 2.684
14 -3.574 3.908 155.916
15 3.908 2.463 355.655
16 2.463 1.587 99.980
17 1.587 1.062 27.797
18 1.062 0.712 8.069
19 0.712 0.193 3.069
20 0.193 0.567 5.729
21 0.567 5.678 2.683

Metode Secant

## iterasi Xi-1 Xi f(Xi-1))

1 0.90 1.00 5.01
2 1.00 0.50 6.74
3 0.50 3.88 2.82
𝑓𝑥=9.34−21.97x+16.3𝑥^2+3.07𝑥^3=0 4 3.88 -5.64 347.83
5 -5.64 3303.30 100.97
xi-1=0.9
xi=1

Metode Iterasi

## iterasi xi+1 f(xi+1) galat (%)

1 0.200 0.456
2 0.456 0.593 2
3 0.593 0.715 18
4 0.715 0.855 11

𝑓𝑥=9.34−21.97x+16.3𝑥^2+3.07𝑥^3=0

x=f(x)
xi+1=0.2
x=(9.34+16.3𝑥^2+3.07𝑥^3)/21.97
de Newton Rapshon

F'(xi) f(xi+1)
19.840 2.824
3.558 12.553
-26.143 3.809
-9.549 3.294
7.475 4.242
-11.170 2.925
4.683 8.077
-19.981 2.960
-4.861 8.334
23.614 3.120
6.276 5.281
-14.242 2.685
0.644 155.922
-20.839 355.661
246.090 99.955
114.195 27.822
52.962 8.072
23.039 3.067
5.910 5.732
-15.335 2.683
-0.525 972.261

## f(X1) Xi+1 f(Xi+1)

6.74 0.50 2.82
2.82 3.88 347.77
347.83 -5.64 101.19
101.23 3303.30 110835778201.77
110835690487.44 -330801.75 -111130896645128000.00