Nama: Nim: Mata Kuliah: Teknik Komputasi: F (X) : X 3+x 2-3x-3 0 F' (X) : 3x 2+2x-3 X (I+1) Xi - (F (Xi) /F' (Xi) )

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 6

NAMA :

NIM :
MATA KULIAH : TEKNIK KOMPU

UJIAN TENGAH SEMSTER TAHUN

PENEYESAIAN METODE NEWTON-RAPHSON


f(x):=x^3+x^2-3x-3=0
f'(x):=3x^2+2x-3
x(i+1)=xi-(f(xi)/f'(xi))

f(x)
xi x^3 x^2 3x 3
1 1 1 3 3
3 27 9 9 3
-1.0000 -1 1 -3 3
-1.0000 -1 1 -3 3
-1.0000 -1 1 -3 3
-1.0000 -1 1 -3 3
-1.0000 -1 1 -3 3

PERKIRAAN AKAR PESA


METODE REGULA FALSI

x*(e^-x)+1 a b f(a)
batas atas = 0 b -1 0 -1.718282
batas bawah = -1 a 1 -0.36787944 0 0.4685364
2 -0.36787944 -0.69220063 0.4685364
interasi = 10 3 -0.36787944 0.453348114 0.4685364
error = 0,0001 4 -0.36787944 -0.67697552 0.4685364
5 -0.36787944 0.40468402 0.4685364
6 -0.36787944 -0.68595423 0.4685364
7 -0.36787944 0.433309482 0.4685364
8 -0.36787944 1.668316387 0.4685364
9 -0.36787944 -0.46960018 0.4685364
10 -0.36787944 -0.16749745 0.4685364

x -0.6087383

AKAR-AKAR PERSAMAAN DENGAN REGULA FALSI METHOD

f(x)=x^3+x^2-3x-3 interasi xn xn+1 xt


e=0,0001 1 1 2 1.5714286
xt=xn-f(xn)*xn+1-xn/f(xn+1)-f(xn) 2 1.571428571 2 1.7054108
1.705410822 2 1.7278827
1.727882728 2 1.7314049
1.731404866 2 1.7319509
1.731950853 2 1.7320353
1.732035344 2 1.7320484
1.732048415 2 1.7320504
1.732050437 2 1.7320508
1.73205075 2 1.7320508
1.732050799 2 1.7320508
1.732050806 2 1.7320508
1.732050807 2 1.7320508
1.732050808 2 1.7320508
1.732050808 2 1.7320508
1.732050808 2 1.7320508
1.732050808 2 1.7320508
1.732050808 2 1.7320508
1.732050808 2 1.7320508
1.732050808 1.732050808 1.7320508
1.732050808 1.732050808 1.7320508
1.732050808 1.732050808 1.7320508
1.732050808 1.732050808 1.7320508
1.732050808 1.732050808 1.7320508

|f(xt)|<_e
JUWANDI PAY
1901120052
MATA KULIAH : TEKNIK KOMPUTASI

NGAH SEMSTER TAHUN AJARAN 2020/2021

f'(x)
f(x) 3x^2 2x 3 f'(x) x(i+1)
-4.0000 3 2 3 2 3
24.0000 27 6 3 30 -1.0000
0.0000 3 -2 3 -2 -1.0000
0.0000 3 -2 3 -2 -1.0000
0.0000 3 -2 3 -2 -1.0000
0.0000 3 -2 3 -2 -1.0000
0.0000 3 -2 3 -2 -1.0000

PERKIRAAN AKAR PESAMAAN ADALAH -1,0000


f(b) x f(x) abs(fx) fx*fa
1 -0.3678794412 -1.44466786 1.444667861 2.48234653
1 -0.6922006276 -3.7596324 3.759632399 -1.7615246
0.6535719288 0.45334811387 0.78314055 0.783140548 0.36692985
1.7133758408 -0.676975525 -3.62138071 3.621380715 -1.6967487
0.6559938294 0.40468402044 0.73393652 0.733936524 0.34387597
1.6065520752 -0.6859542314 -3.7025059 3.702505897 -1.7347588
0.6545469735 0.43330948238 0.76367532 0.763675324 0.35780968
1.6683163872 -0.6807586123 -3.65542043 3.655420433 -1.7126975
9.8474683308 -0.4696001764 -2.04158515 2.041585152 -0.9565569
0.7063814524 -0.1674974489 -0.53832667 0.53832667 -0.2522256
0.8583342129 -0.6087382962 -3.04156281 3.04156281 -1.4250829

ULA FALSI METHOD

f(xn) f(xn+1) f(xt) f(xt).f(xn)


-4 3 -1.36443149 5.457725948
-1.3644314869 3 -0.2477451 0.338031215
-0.2477450996 3 -0.03933955 0.009746181
-0.0393395513 3 -0.00611067 0.000240391
-0.0061106731 3 -0.00094592 5.78021E-06
-0.0009459207 3 -0.00014635 1.38434E-07
-0.0001463487 3 -2.2641E-05 3.31342E-09
-2.264057E-05 3 -3.5025E-06 7.92989E-11
-3.502516E-06 3 -5.4184E-07 1.89781E-12
-5.418413E-07 3 -8.3823E-08 4.54188E-14
-8.382315E-08 3 -1.2967E-08 1.08698E-15
-1.296749E-08 3 -2.0061E-09 2.60138E-17
-2.006079E-09 3 -3.1034E-10 6.22567E-19
-3.103402E-10 3 -4.801E-11 1.48996E-20
-4.801048E-11 3 -7.4278E-12 3.56614E-22
-7.390089E-12 3 -1.1098E-12 8.20136E-24
-1.108447E-12 3 -1.7142E-13 1.90008E-25
-1.714184E-13 3 -2.6645E-14 4.5675E-27
-2.664535E-14 3 0 0
-1.998401E-14 3.9968029E-14 5.01821E-14 -1.00284E-27
-1.865175E-14 4.7073456E-14 0 0
-1.865175E-14 4.7073456E-14 0 0
-1.865175E-14 4.7073456E-14 0 0
-1.865175E-14 4.7073456E-14 0 0

|f(xt)|<_e

You might also like