0% found this document useful (0 votes)
39 views9 pages

Bisection: Literasi Ke x1 x2 x3 F (x1) F (x2)

The document describes using bisection, interpolation, Newton-Raphson, and secant methods to find the root of the function f(x) = x^6 - x - 1 between x=1 and x=2. It provides sample iterations and calculations for each method, showing how the estimated root converges at each step.

Uploaded by

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

Bisection: Literasi Ke x1 x2 x3 F (x1) F (x2)

The document describes using bisection, interpolation, Newton-Raphson, and secant methods to find the root of the function f(x) = x^6 - x - 1 between x=1 and x=2. It provides sample iterations and calculations for each method, showing how the estimated root converges at each step.

Uploaded by

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

BISECTION

y = x6 – x – 1 x=1 toleransi kesalahan : 0.002


x=2

x1 f(x=1) = (1)6 – 1 – 1 = -1
x2 f(x=2) = (2)6 – 2 – 1 = 61

x3= x1 +x2/2= 1+2/2= 1,5


f(x=1.5) = (1.5)6 – 1.5 – 1 = 8.89

Literasi ke x1 x2 x3 f(x1) f(x2)


1 1.0000000 2.0000000 1.5000000 -1.0000000 61.0000000
2 1.0000000 1.5000000 1.2500000 -1.0000000 8.8906250
3 1.0000000 1.2500000 1.1250000 -1.0000000 1.5646973
4 1.2500000 1.1250000 1.1875000 1.5646973 -0.0977135
5 1.1250000 1.1875000 1.1562500 -0.0977135 0.6166530
6 1.1250000 1.1562500 1.1406250 -0.0977135 0.2332689
7 1.1250000 1.1406250 1.1328125 -0.0977135 0.0615778
8 1.1328125 1.1406250 1.1367188 -0.0195756 0.0615778
9 1.1328125 1.1367188 1.1347656 -0.0195756 0.0206190
10 1.1328125 1.1347656 1.1337891 -0.0195756 0.0004268
11 1.1347656 1.1337891 1.1342773 0.0004268 -0.0095980
f(x3) |X1-X2|
8.8906250 1.0000000
1.5646973 0.5000000
-0.0977135 0.2500000
0.6166530 0.1250000
0.2332689 0.0625000
0.0615778 0.0312500
-0.0195756 0.0156250
0.0206190 0.0078125
0.0004268 0.0039063
-0.0095980 0.0019531
-0.0045915 0.0009766
INTERPOLASI
y = x6 – x – 1 x=1 toleransi kesalahan : 0.002
x=2

x1 f(x) = x6 – x – 1
x2 f(x)' = 6x –1

x3= x1 +x2/2= 1+2/2= 1,5


f(x=1.5) = (1.5)6 – 1.5 – 1 = 8.89

Literasi ke x1 x2 x3 f(x1) f(x2) f(x3) |X1-X2|


1 2 1.016129 -1 61 -0.91537 1
2 1 1.016129 1.190578 -1 -0.91537 0.657466 0.016129
3 1.016129 1.190578 1.117656 -0.91537 0.657466 -0.16849 0.174449
4 1.190578 1.117656 1.132532 0.657466 -0.16849 -0.02244 0.072922
5 1.190578 1.132532 1.134447 0.657466 -0.02244 -0.00285 0.058046
6 1.190578 1.134447 1.134689 0.657466 -0.00285 -0.00036 0.056131
7 1.190578 1.134689 1.13472 0.657466 -0.00036 -4.53E-05 0.055889
8 1.190578 1.13472 1.134724 0.657466 -4.53E-05 -5.71E-06 0.055858
9 1.190578 1.134724 1.134724 0.657466 -5.71E-06 -7.19E-07 0.055854
10 1.190578 1.134724 1.134724 0.657466 -7.19E-07 -9.07E-08 0.055854
11 1.190578 1.134724 1.134724 0.657466 -9.07E-08 -1.14E-08 0.055854
12 1.134724 1.134724 1.134724 -9.07E-08 -1.14E-08 0 7.7E-09
NEWTON-RAPHSON
y = x6 – x – 1 x=1 toleransi kesalahan : 0.002
x=2

x1 f(x) = x6 – x – 1
x2 f'(x) = 6x5-1

Literasi ke xi xi+1 f(x) f'(x) kesalahan


1 1 1.2 -1 5 0.2
2 1.2 1.143576 0.785984 13.92992 -0.0564241575
3 1.143576 1.134909 0.093032 10.73481 -0.0086663803
4 1.134909 1.134724 0.001907 10.29685 -0.0001852409
5 1.134724 1.134724 8.54E-07 10.28763 -0.000000083
SECANT
y = x6 – x – 1 x=1
x=2

Iterasi X1 X2 X3 f(X1) f(X2) f(X3) Kesalahan


1 1 2 1.0161290323 -1 61 -0.91537 1
2 2 1.016129 1.0306747541 61 -0.91537 -0.83192 -0.98387097
3 1.016129 1.030675 1.1756889443 -0.91537 -0.83192 0.465227 0.01454572
4 1.030675 1.175689 1.1236790654 -0.83192 0.465227 -0.11063 0.14501419
5 1.175689 1.123679 1.1336710812 0.465227 -0.11063 -0.01081 -0.05200988
6 1.123679 1.133671 1.1347526818 -0.11063 -0.01081 0.000294 0.00999202
7 1.133671 1.134753 1.1347240656 -0.01081 0.000294 -7.48E-07 0.0010816
ELIMINASI GAUSS

6 x1+ 2 x2+ 2 x3= -2 target untuk di 0 kan


2 x1+ 0.667 x2+ 0.333 x3= 1
1 x1+ 2 x2+ -1 x3= 0

6 2 2 -2 B1
2 0.667 0.333 1 B2
1 2 -1 0 B3

6 2 2 -2
B2-2/6B1 0 0.000333 -0.33367 1.666667
B3-1/6B1 0 1.666667 -1.33333 0.333333

B2<->B3 6 2 2 -2
0 1.66667 -1.3333 0.33333
0 0 0.3367 1.66667
target untuk di 0 kan �2− 2/6B1

6 2 2 -2
2 0.667 0.333 1
1 2 -1 0
Gauss jordan

0.1 x1+ 7 x2+ 0.3 x3= -19.5 b2


0.3 x1+ 0.2 x2+ 10 x3= 71.4 b3
3 x1+ 0.1 x2+ 0.2 x3= 7.85 b1

0.1 7 0.3 -19.5


0.3 0.2 10 71.4
3 0.1 0.2 7.85
durutkan dari yang terbesar(atas) ke terkecil(bawah)
3 0.1 0.2 7.85
0.1 7 0.3 -19.5
0.3 0.2 10 71.4
y = x6 – x – 1 x=1 toleransi kesalahan : 0.002
x=2

x1 f(x) = x6 – x – 1
x2 f'(x) = 6x5-1

Metode Newton-Raphson
Iterasi ke xi xi+1 f(x) f'(x) kesalahan
1 1 1.2 -1 5 0.2
2 1.2 1.143576 0.785984 13.92992 -0.05642
3 1.143576 1.134909 0.093032 10.73481 -0.00867
4 1.134909 1.134724 0.001907 10.29685 -0.00019
5 1.134724 1.134724 8.54E-07 10.28763 -8.3E-08

f(x) = x6 – x – 1

Metode Secant
Iterasi X1 X2 X3 f(X1) f(X2) f(X3) Kesalahan
1 1 2 1.016129 -1 61 -0.91537 1
2 2 1.016129 1.030675 61 -0.91537 -0.83192 -0.983871
3 1.016129 1.030675 1.175689 -0.91537 -0.83192 0.465227 0.01454572
4 1.030675 1.175689 1.123679 -0.83192 0.465227 -0.11063 0.14501419
5 1.175689 1.123679 1.133671 0.465227 -0.11063 -0.01081 -0.0520099
6 1.123679 1.133671 1.134753 -0.11063 -0.01081 0.000294 0.00999202
7 1.133671 1.134753 1.134724 -0.01081 0.000294 -7.48E-07 0.0010816

You might also like