0% found this document useful (0 votes)
37 views6 pages

Tugas 3 Metode Numerik

The document provides examples of solving equations using iterative methods and factoring methods. It gives three equations and solves them using iteration. It also factors two equations to find the roots. Finally, it uses the Newton-Raphson method to find the root of an equation.

Uploaded by

muhammad refqi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views6 pages

Tugas 3 Metode Numerik

The document provides examples of solving equations using iterative methods and factoring methods. It gives three equations and solves them using iteration. It also factors two equations to find the roots. Finally, it uses the Newton-Raphson method to find the root of an equation.

Uploaded by

muhammad refqi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Nama : M.

Refqi Hidayatullah
NIM : 210536615203
PRO/OFF : S1 Teknik Elektro / B (21)

1. METODE ITERASI
a. X33 + 6,6x22 – 29,05x + 22,64 = 0, kita asumsikan x0 = 0
x + 6,6x + 22,64 = 29,05x
3
x = (x + 6,6x2 + 22,64)/29,05
f`(x) = (3x2 + 13,2x)/29,05
f`(x0) = 0, dan 0 < 1 menandakan konvergen
f(x) = (x3 + 6,6x2 + 22,64)/29,05
 ITERASI 1
f(x) = (x3 + 6,6x2 + 22,64)/29,05
f(x0) = ( 0 + 0 + 22,64)/29,05 = 0,7793
x1 = 0,7793
 ITERASI 2
f(x1) = 0,77933 + 6,6 x 0,77932 + 22,64
= (0,4733 + 4,0082 + 22,64) / 29,05
= 0,9336
x2 = 0,9336
 ITERASI 3
f(x2) = 0,93363 + 6,6 x 0,93362 + 22,64
= (0,8137 + 5,7526 + 22,64) / 29,05
= 1,0054
x3 = 1,0054

b. x4 – 0,41x3 + 1,632x2 – 9,146x + 7,260 = 0, kita asumsikan x0 = 0


x4 – 0,41x3 + 1,632x2 + 7,260 = 9,146x
4 3 2
x = (x – 0,41x + 1,632x + 7,260) / 9,146
f`(x) = (4x3 + 1,23x2 + 3,264x) / 9,146
0
f`(x ) = 0, dan 0 < 1 menandakan konvergen
f(x) = (x4 – 0,41x3 + 1,632x2 + 7,260) / 9,146
 ITERASI 1
f(x) = (x4 – 0,41x3 + 1,632x2 + 7,260) / 9,146
f(x0) = ( 0 + 0 + 7,260) / 9,146
= 0,7938
x1 = 0,7938
 ITERASI 2
f(x1) = (0,79384 – 0,41 x 0,79383 + 1,632 x 0,79382 + 7,260) / 9,146
= (0,39705 – 0,2051 + 1,02835 + 7,260) / 9,146
= 0,9272
x2 = 0,9272
 ITERASI 3
f(x2) = (0,92724 – 0,41 x 0,92723 + 1,632 x 0,92722 + 7,260) / 9,146
= (0,7391 – 0,3268 + 1,4030 + 7,260) / 9,146
= 0,992
x3 = 0,9923

c. x5 - 2x4 – 9x3 + 22x2 – 4x – 22 = 0 kita asumsikan x0 = 0


x5 - 2x4 – 9x3 + 22x2 – 22 = 4x
x = (x5 - 2x4 – 9x3 + 22x2 – 22) / 4
f`(x) = (5x4 - 8x3 – 27x2 + 44x) / 4
f`(x0) = 0, dan 0 < 1 menandakan konvergen
f(x) = (x5 - 2x4 – 9x3 + 22x2 – 22) / 4

 ITERASI 1
f(x) = (x5 - 2x4 – 9x3 + 22x2 – 22) / 4
f(x0) = (0 - 0 – 0 + 0 – 22) / 4
x1 = -5,5
 ITERASI 2
f(x1) = (-5,55 – 2 x -5, 54 – 9 x -5,53 + 22 x -5,52 – 22) / 4
= (-25164,21875 – 1830,125 + 1497,375 + 665,5 = 22) / 4
= -6213,3672
x2 = -6213,3672
 ITERASI 3
f(x2) = (-6213,36725 – 2 x -6213,36724 – 9 x -6213,36723 + 22 x -6213,36722 – 22) / 4
= (-9260514207733287945,5766 + 298083595314680,8853 + 2158855482405,1062
849330503,1648 - 22) / 4
= -2315053491108290094,6051
x3 = - 2315053491108290094,6051

2. METODE FAKTORISASI
a. x3 + 6,6x2 – 29,05x + 22,64 = 0 p(x)
= (1,2)
b0 = A0/a0
a1 = A2 – b0
a0 = A1 – a1b0
b0 =0
a1 = 6,6 – 0
= 6,6
a0 = - 29,05 – (6,6 . (0))
= - 29,05

b0 = 22,64 / (- 29,05)
= -0,779
a1 = 6,6 – (-0,779)
= 7,379
a0 = - 29,05 – ((7,379). (-0,779))
= - 23,302

b0 = 22,64 / (- 23,302)
= - 0,971
a1 = 6,6 – ( - 0,971)
=7,571
a0 = - 29,05 – ((7,571). (- 0,971))
= - 21.699
TABEL
# b0 a1 a0
1 0 6.6 -29.05
2 -0.779 7.379 -23.3
3 -0,971 7.571 -21.69
Jadi akar persamaan adalah : à (x-0,971) (x2 + 7,571x – 21,69)

b. x4 – 0,41x3 + 1,632x2 – 9,146x + 7,260 = 0


p4 (x) = (2,2)

b0 = A 0 / a0
b1 = (A1 – a1.b0) / a0
a1 = A2 – b0
a0 = A1 – a1.b0, Inisialisasi : b0 = 0 ]

b0 =0
b1 =0
a1 = 1,632
a0 = - 9,146
b0 = 7,260 / - 9 ,146
= - 0, 794
b1 = (- 9,.146 – (1, 632. 7,260)) / - 9,146
= 2,296
a1 = 1,632 + 0,794
= 2,426
a0 = - 9,146 – (2,426.(-0,794))
= - 7,219

b0 = 7,260 / - 7,219
= - 1,006
b1 = (- 9,.146 – (2,426. (-1,006))) / - 7,219
= - 0,929
a1 = 1,632 + 1,006
= 2,638
a0 = - 9,146 – (2,638.(-1,006))
= - 6,492

b0 = 7,260 / - 6.492
= - 1,119
b1 = (- 9,.146 – (2,638. (-1,119))) / - 6.492
= - 1.864
a1 = 1,632 + 1,119
= 2,751
a0 = - 9,146 – (2.751.(-1,119))
= - 6,067

b0 = 7,260 / - 6.067
= - 1,197
b1 = (- 9,.146 – (2,751. (-1,197))) / - 6.067
= 0.965
a1 = 1,632 + 1,197
= 2,829
a0 = - 9,146 – (2.829.(-1,197))
= - 5.759

b0 = 7,260 / - 5.759
= - 1,261
b1 = (- 9,.146 – (2,829. (-1,261))) / - 5.759
= 1.087
a1 = 1,632 + 1,261 = 2,893
a0 = - 9,146 – (2.893.(-1,261)) = - 5.198
b0 = 7,260 / - 5.498
= - 1,321
b1 = (- 9,.146 – (2,893. (-1,321))) / - 5.498
= 0.958
a1 = 1,632 + 1.321
= 2,953
a0 = - 9,146 – (2,953.(-1,321))
= - 5.245

b0 = 7,260 / - 5.245
= - 1,385
b1 = (- 9,.146 – (2,953. (-1,385))) / - 5.245
= 0.964
a1 = 1,632 + 1.385
= 3,017
a0 = - 9,146 – (3,017.(-1,385))
= - 4,967

Tabel
No b0 b1 a1 a0
1 0 0 1,632 -9,146
2 -0,794 2,296 2,426 -7,219
3 -1,006 --0.929 2,638 -6,492
4 -1,119 1,864 2,751 -6,067
5 -1,197 0.965 0.829 -5,759
6 -1,261 1,087 2,893 -5,498
7 -1,311 0.958 -1,311 0.958 -1,311 0.958 -1,311 0.958
2,953 -5,245 2,953 -5,245 2,953 -5,245 2,953 -5,245
8 -1,385 0.964 3,017 -4,967

3. GUNAKAN METODE NEWTON-RAPHSON UNTUK MENDAPATKAN AKAR PERSAMAAAN


f(x) = -0,875x2 + 1,75x + 2,625 (xi = 3,1)
f`(x) = -1,75x + 1,75
Persamaan formulasi Newton-Raphson menjadi :
(−0,875𝑥 2+1,75𝑥+2,625)
xn + 1 = xi – (−1,75𝑥+1,75)
 ITERASI 1
(−0,875 ×3,12+1,75 ×3,1+2,625)
f(xn + 1) = 3,1 - (−1,75 ×3,1+1,75)
3,1 −(−8,40875 +5,425+2625)
=
−3,675
= -716,5738
x1 = -716,5738
 ITERASI 2
−716,5738−(−0,875 𝑥 −716,57382+1,75 × −716,5738+2,625)
f(x1) =
(−1,75 × −716,5738 + 1,75)
−447922,2756
= -716,5738 –( ) = -359,8779
1255,75415
x2 = -359,8779
 ITERASI 3
f(x1) = -359,8779 - (-0,875 x -359,87792 + 1,75 x -359,8779 + 2,625)/( -1,75 x -
359,8779 + 1,75)
= -359,8779 - (-113323,0901/631,5363) = -180,4376
2
x = -180,4376

4. Gunakan Metode Newton-Raphson untuk mendapatkan akar persamaan-persamaan


f ( x) = −2.1 + 6.21x − 3.9x2 + 0.667 x3
f '(x) = 6.21 − 7.8x + 200.1x2
𝑓 (𝑥𝑖)
Xi+1 = Xi - 𝑓′(𝑥𝑖)
Xi+1=Xi - (-2.1+6.21x-3.9x2+0.667x3)/(6.21-7.8x+0.201x2)

Iterasi Xi Xi+1 f(Xi) f ‘ (Xi) f (Xi+1)


1 0 0.338164251 -2.1 6.21 -0.41004639
2 0.338164251 0.44603874 -0.41004639 3.801143317 -0.033436088
3 0.44603874 0.456724617 -0.033436088 3.128997897 -2.20275E-05
4 0.456724617 0.456731804 -2.20275E-05 3.064951337 2.15452E-07
5 0.456731804 0.456731734 2.15452E-07 3.064908415 -2.10891E-09
6 0.456731734 0.456731734199422 -2.10891E-09 3.064908835 2.06427E-11
7 0.456731734199422 0.456731734192687 2.06427E-11 3.064908831 -2.02394E-13
8 0.456731734192687 0.456731734192753 -2.02394E-13 3.064908831 2.38698E-15
9 0.456731734192753 0.456731734192752 2.38698E-15 3.064908831 0

Salah satu akar persamaan f (x)=-2.1=6.1x-3.9x2+0.667 x3= 0.456731734192752.

You might also like