Anda di halaman 1dari 3

TUGAS 2 METODA NUMERIK

Nama : Yogie Fernando


BP : 1610911034

Tentukanlah akar riil dari F(x) = 2x 3 -11,7x2 + 17,7x - 5

1. Menggunakan metoda grafik

x fx
0 -5
1 3
2 -0.4
3 -3.2
4 6.6
5 41
6 112
7 231.6
8 411.8
9 664.6
10 1002

1200

1000

800

600

400

200

0
0 2 4 6 8 10 12
-200
2. Menggunakan metode posisi salah

xl xu xr f(xl) f(xu) f(xr) f(xi).f(xr) εa


1 2 1.882353 3 -0.4 0.20089558 0.602686749
1.882353 2 1.9216855 0.20089528 -0.4 0.00028315 5.68837E-05 2.04677208
1.921686 2 1.9217409 0.00028071 -0.4 5.6503E-08 1.5861E-11 0.00285786
1.92174092 2 1.9217409 5.6503E-08 -0.4 1.1276E-11 6.37344E-19 5.7524E-07

3.5
3
2.5
2
1.5
1
0.5
0
0.8 1 1.2 1.4 1.6 1.8 2 2.2
-0.5
-1

Xl Xu Xr

3. Menggunakan metode Newton - Raphson


iterasi x xi fx f'x fxi ea
1 2 1.921569 -0.4 -5.1 0.000881
2 1.921569 1.921741 0.00088051 -5.1101499 0.0000000 0.008966
3 1.921741 1.921741 -5.054E-09 -5.1102086 0.0000000 0.000000

0.05
0
1.91 1.92 1.93 1.94 1.95 1.96 1.97 1.98 1.99 2 2.01
-0.05
-0.1
-0.15
-0.2
-0.25
-0.3
-0.35
-0.4
-0.45

x xi
-0.3
-0.35
-0.4
-0.45

x xi

4. Metode Secant
iterasi xi-1 xi xi+1 f(xi-1) f(xi) f(xi+1) ea
1 1 2 1.882353 3 -0.4 0.2009
2 2 1.882353 1.921686 -0.4 0.200896 0.0002832 2.046775
3 1.8824 1.921686 1.921741 0.20089558 0.000283 -0.0000005 0.002889

3.5

2.5

1.5

0.5

0
0.8 1 1.2 1.4 1.6 1.8 2 2.2
-0.5

-1

Anda mungkin juga menyukai