Anda di halaman 1dari 9

1.

METODE NEWTON
METODE NEWTON
f(x)=x³-7x+1 f(x)=3x^2-7
x0=0, x1=1,
e=0,00001

ITERASI x1 f(x1) x2 f(x2)


1 1 -5.000000 -0.3 2.734375
2 -0.3 2.734375 0.2 -0.056164282808
3 0.2 -0.056164 0.1 2.928573775E-05
4 0.1 0.000029 0.143277 7.657541268E-12
5 0.1 0.000000 0.143277 0
6 0.1 0.000000 0.1432773 0
7 0.1 0.000000 0.14328 0

Jadi hasil akhir persamaan f(x)=x³-7x+1 dari metode newton adalah 0,1432

2. METODE SECANT
METODE SECANT

f(x)=x³-7x+1
ε=0,00001
x0=0, x1=1,

ITERASI x0 x1 f(x0) f(x1)


1 0.00000 1.000000 1.0000000 -5
2 1.00000 0.166667 -5.0000000 -0.162037037037
3 0.16667 0.138756 -0.1620370 0.0313796337058
4 0.13876 0.143284 0.0313796 -4.750923516E-05
5 0.14328 0.143277 -0.0000475 -1.316370946E-08
6 0.14328 0.143277 0.0000000 5.773159728E-15

Jadi hasil akhir persamaan f(x)=x³-7x+1 dari metode secant adalah 1,4327

2. ITERASI TITIK TETAP


ITERASI TITIK TETAP

Rumus x2 = (x^3+1)/7 f(x)=x³-7x+1


Diketahui x1 = 1
ε=0,00001

ITERASI x1 x2 f(x0) abs


1 1.00000 0.285714 -250.0000000 250
2 0.28571 0.146189 -95.4415954 95.441595441596
3 0.14619 0.143303 -2.0136460 2.0136460496494
4 0.14330 0.143278 -0.0180848 0.0180848146759
5 0.14328 0.143277 -0.0001591 0.0001591376029
6 0.14328 0.143277 -0.0000014 1.4000761E-06

Jadi hasil akhir persamaan f(x)=x³-7x+1 dari metode iterasi titik tetap adalah 1,4327
f'(x1) ABS Penentuan
-4.00 2.73 next
-6.81 0.06 next
-6.93 0.00 next
-6.94 0.00 stop
-6.94 0.00 stop
-6.94 0.00 stop
-6.94 0.00 stop

x2 f(x2) e penentuan
0.16666666667 -0.16 0.16 next
0.13875598086 0.03 0.03 next
0.14328416912 0.00 0.00 next
0.14327732374 0.00 0.00 stop
0.14327732184 0.00 0.00 stop
0.14327732184 0.00 0.00 stop

x2
next
next
next
next
next
stop

etap adalah 1,4327


1. METODE NEWTON
METODE NEWTON
f(x)=4x²-16x+3 f(x)=8x-16
x0=2, x1=3,
e=0,00009

ITERASI x1 f(x1) x2 f(x2)


1 3 -9.000000 4.1 5.0625
2 4.1 5.062500 3.8 0.3547253460208
3 3.8 0.354725 3.8 0.0023555346113
4 3.8 0.002356 3.803 1.066834301E-07
5 3.8 0.000000 3.8 0
6 3.8 0.000000 3.8 0
7 3.8 0.000000 3.8 0

Jadi hasil akhir persamaan f(x)=4x²-16x+3 dari metode newton adalah 3,803

2. METODE SECANT
METODE SECANT

f(x)=4x²-16x+3
ε=0,00009
x0=2, x1=3,

ITERASI x0 x1 f(x0) f(x1)


1 2.00000 3.000000 -13.0000000 -9
2 3.00000 5.250000 -9.0000000 29.25
3 5.25000 3.529412 29.2500000 -3.643598615917
4 3.52941 3.720000 -3.6435986 -1.1664
5 3.72000 3.809739 -1.1664000 0.1006256157713
6 3.80974 3.803 0.1006256 -0.002355107878

Jadi hasil akhir persamaan f(x)=4x²-16x+3 dari metode secant adalah 3,803

2. ITERASI TITIK TETAP


ITERASI TITIK TETAP

Rumus x2 = ((16x-3)/4)^(1/2) f(x)=4x²-16x+3


Diketahui x1 = 3
ε=0,00009

ITERASI x1 x2 f(x0) abs


1 3.00000 3.354102 10.5572809 10.557280900009
2 3.35410 3.558990 5.7569079 5.7569078556571
3 3.55899 3.672323 3.0861563 3.0861563364513
4 3.67232 3.733536 1.6395436 1.6395435972026
5 3.73354 3.766184 0.8668754 0.866875366675
6 3.76618 3.783482 0.4571921 0.4571921476926
7 3.78348 3.792615 0.2408054 0.2408053580161
8 3.79262 3.797428 0.1267451 0.1267450759913
9 3.79743 3.799962 0.0666863 0.0666863488334
10 3.79996 3.801296 0.0350800 0.035079960152
11 3.80130 3.801997 0.0184517 0.0184517355994
12 3.80200 3.802366 0.0097049 0.0097049254087
13 3.80237 3.802560 0.0051043 0.0051042860387
14 3.80256 3.802662 0.0026845 0.0026845494087
15 3.80266 3.802716 0.0014119 0.0014119016019
16 3.80272 3.802744 0.0007426 0.000742567075
17 3.80274 3.802759 0.0003905 0.0003905404436
18 3.80276 3.802767 0.0002054 0.0002053978302
19 3.80277 3.802771 0.0001080 0.0001080252873
20 3.80277 3.803 0.0000568 5.681393541E-05
21 3.80277 3.802774 0.0000299 2.988025125E-05
22 3.80277 3.802775 0.0000157 1.571497083E-05

Jadi hasil akhir persamaan f(x)=4x²-16x+3 dari metode iterasi titik tetap adalah 3,803
f'(x1) ABS penentuan
8.00 5.06 next
17.00 0.35 next
14.62 0.00 next
14.42 0.00 stop
14.42 0.00 stop
14.42 0.00 stop
14.42 0.00 stop

x2 f(x2) abs penentuan


5.25 29.25 29.25 next
3.52941176471 -3.64 3.64 next
3.72 -1.17 1.17 next
3.80973931933 0.10 0.10 next
3.80261233299 0.00 0.00 next
3.803 0.00 0.00 stop

Penentuan
next
next
next
next
next
next
next
next
next
next
next
next
next
next
next
next
next
next
next
stop
stop
stop

etap adalah 3,803

Anda mungkin juga menyukai