Tugas 1 Metode Numerik Nama: Melki NIM: 2015-7011-038 1. Newton-Raphson Methode
Tugas 1 Metode Numerik Nama: Melki NIM: 2015-7011-038 1. Newton-Raphson Methode
Tugas 1 Metode Numerik Nama: Melki NIM: 2015-7011-038 1. Newton-Raphson Methode
METODE NUMERIK
NAMA : MELKI
NIM : 2015-7011-038
1. Newton-Raphson Methode
f(xi) = 1.5𝑥 4 + 3𝑥 3 − 0.75𝑥 2 − 6
(𝐴+𝐵+𝐶)
xi = 0.75 + 30
2. Secant Methode
f(x) = 2x4 - x3 + 8x + 4
0+6
x1 = 0.8 + ( 20 ) = 1.1000
7+6
x2 = 1.9 + ( 20 ) = 2.5500
Carilah nilai
a. Akar-akar persamaan
b. Error (ε)
c. Hub. Persamaan
Penyelesaian :
1. Newton-Raphson Methode
Akar-akar persamaan
Trial 1
𝑥𝑖 = 1.1167
𝑓(𝑥𝑖) −0.42504
𝑥𝑖 + 1 = 𝑥𝑖 − 𝑓′ (𝑥𝑖) = 1.1167 − 17.90340 = 1.1404
1.140441−1.1167
𝜺= 1.1167
× 100% = 2.08172%
Trial 2
𝑥𝑖 = 1.1404
𝑓(𝑥𝑖) 0.01170
𝑥𝑖 + 1 = 𝑥𝑖 − 𝑓′ (𝑥𝑖) = 1.1404 − 18.8943 = 1.139822
1.139822−1.1404
𝜺= × 100% = −0.05431729%
1.13404
Trial 3
𝑥𝑖 = 1.139822
𝑓(𝑥𝑖) 0.00001
𝑥𝑖 + 1 = 𝑥𝑖 − 𝑓′ (𝑥𝑖) = 1.139822 − 18.86810 = 1.139821
1.139821−1.139822
𝜺= × 100% = −0.00003781%
1.139822
Trial 4
𝑥𝑖 = 1.139821
𝑓(𝑥𝑖) 0.00001
𝑥𝑖 + 1 = 𝑥𝑖 − 𝑓′ (𝑥𝑖) = 1.139821 − 18.86810 = 1.139821
1.139821−1.139821
𝜺= × 100% = −0.0000000%
1.139821
TABEL PERSAMAN
GRAFIK
xi
1.14500
1.14000
1.13500
1.13000
1.12500
xi
1.12000 xi
1.11500
1.11000
1.10500
1.10000
1 2 3 4
f'(xi+1)
19.00000
18.80000
18.60000
18.40000
f'(xi+1)
18.20000
f'(xi+1)
18.00000
17.80000
17.60000
17.40000
1 2 3 4
ε
2.50000000
2.00000000
1.50000000
1.00000000 ε
ε
0.50000000
0.00000000
1 2 3 4
-0.50000000
METODE SECAN
𝑓(𝑥) = 2 𝑥 4 − 𝑥 3 − 8 𝑥 + 4
0+8
𝑥1 = 𝑥𝑖 = 0,8 + ( )
20
0+8
𝑥𝑖 = 0,8 + ( ) = 1,2
20
3+8
𝑥2 = 𝑥𝑖 + 1 = 1,9 + ( )
20
3+8
𝑥𝑖 = 1,9 + ( ) = 2,45
20
NilaiAkar-akar
𝑰𝒕𝒆𝒓𝒂𝒔𝒊 𝑰
𝑓(𝑥1) = 𝑓(𝑥) = 2 𝑥 4 − 𝑥 3 − 8 𝑥 + 4
= 2 (1,2)4 + (1,2)3 − 8 (1,2) + 4
= -11.1808
𝑓(𝑥2) = 𝑓(𝑥) = 2 𝑥 4 − 𝑥 3 − 8 𝑥 + 4
= 2 (2,45)4 − (2,45)3 − 8 (2,45) + 4
= 33.7539
𝑓 (𝑥2)(𝑥2 − 𝑥1)
𝑥3 = 𝑥2 −
𝑓 (𝑥2) − 𝑓 (𝑥1)
(33.7539)(2,45−1,2)
= 2,45 −
(33.7539)–(−11.1808)
= 1.5110
𝑥3−𝑥1
ε = 𝑥 100%
𝑥3
1.5110−1,2
= 𝑥 100%
1.5110
= 20.58%
TABEL PERSAMAN
GRAFIK
x1
3.0000
2.5000
2.0000
x1
1.5000
x1
1.0000
0.5000
0.0000
1 2 3 4 5 6 7 8 9
f(x1)
40.0000
35.0000
30.0000
25.0000
20.0000
15.0000
f(x1)
f(x1)
10.0000
5.0000
0.0000
-5.0000 1 2 3 4 5 6 7 8 9
-10.0000
-15.0000
ε
30.00%
20.00%
10.00%
0.00%
1 2 3 4 5 6 7 8 9
-10.00% ε
ε
-20.00%
-30.00%
-40.00%
-50.00%