Professional Documents
Culture Documents
CERTOK - Uasmtnk
CERTOK - Uasmtnk
RA & @abe07
Ayo kita belajar metnum cuyyyyy
Selamat belajar
Contact me : ricastren@yahoo.com
CERTOK uasmtnk
RA & @abe07
Numerical Differentiation
Soal:
f(x)
=2x3 x2 + 1
x0
=0
h
= 0,2
cari galat dengan metode forward, backward dan center
Jawab:
Forward:
galat 1 forward
rumus : f(x0) = [f (x0+h) f(x0)]/h
x0+h = 0 + 0,2 = 0,2
f(x0+h) = 2(0,2)3 (0,2)2 + 1
= 0,016 - 0,04 + 1
= 0,976
F(x0) = 2(0)3 (0)2 + 1
=1
f(x0)
= [0,976 1]/0,2
= -0,12
galat 2 forward
rumus: f(x0) = [-f(x0+2h)+4f(x0+h)-3f(x0)]/2h
x0+2h = 0 + 0,4 = 0,4
f(x0+2h)= 2(0,4)3 (0,4)2 +1
= 0,128 0,16 + 1
= 0,968
f(x0) = [-0,968 + 4(0,976) 3(1)]/0,4
= [-0,968 + 3,904 3]/0,4
= 0,064/0,4
= -0,16
Backward:
Galat 1 backward
Rumus: f(x0) = [f(x0) f(x0-h)]/h
x0-h = 0 0,2 = -0,2
f(x0-h) = 2(-0,2)3 (-0,2)2 + 1
CERTOK uasmtnk
RA & @abe07
= -0,016 0,04 + 1
= 0,944
f(x0)
= [1 0,944]/0,2
= 0,28
Galat 2 backward
Rumus: f(x0) = [3f(x0) 4f(x0-h) + f(x0 2h)]/2h
x0-2h = 0 0,4 = -0,4
f(x0-2h) = 2(-0,4)3 (0,4)2 + 1
= -0,128 0,16 + 1
= 0,712
f(x0)
center
Galat 2 center
Rumus: f(x0) = [f(x0+h) f(x0-h)]/2h
= [0,976 0,944]/0,4
= 0,08
Galat 4 center
Rumus: f(x0) = [-f(x0+2h) + 8f(x0 +h) 8f(x0 h) + f(x0 -2h)]/12h
= [-0,968 + 8(0,976) 8(0,944) + 0,712]/2,4
= [-,968 + 7,808 7,552 + 0,712]/2,4
=0
Ingat-ingat:
Forward
Galat 1 f(x0) = [f (x0+h) f(x0)]/h
Galat 2 f(x0) = [-f(x0+2h)+4f(x0+h)-3f(x0)]/2h
Backward
Galat 1 -> f(x0) = [f(x0) f(x0-h)]/h
Galat 2 -> f(x0) = [3f(x0) 4f(x0-h) + f(x0 2h)]/2h
Center
Galat 2 -> f(x0) = [f(x0+h) f(x0-h)]/2h
Galat 4 -> f(x0) = [-f(x0+2h) + 8f(x0 +h) 8f(x0 h) + f(x0 -2h)]/12h
CERTOK uasmtnk
RA & @abe07
Integrasi Kuadrator Gauss (2 atau 3 titik)
Soal:
I = x^2 X dx = 26,79908
Jawab:
a(batas bawah) = 0
b(batas atas) = 2
rumus: f(0)=
=
= 1 . f (1+1 u)
= f (1+u)
Bila f(x)
Maka f(1+u)
=
=
x^2
. (1+u)
Nilai eksak: C1 = 1 ; U1 =
; C2 = 1 ; U2 =
= 1.f (
= [e^(1= [e^(1-
) + 1.f ( )
)2 . (1)2 . (1-
)]+[e^(1+
)]+[e^(1+
)2 . (1 +
)2 . (1 +
)]
)]
CERTOK uasmtnk
RA & @abe07
Simpson
Soal:
N=6
Jawab:
h = batas atas batas bawah / jumlah n
=
= = 0,6667
X
X0=1
X1 = 1,6667
X2= 2,3334
X3= 3,0001
X4= 3,6668
X5= 4,3335
X6= 5,0002
F(x)
(12 = 4(1)+5) = 2
1,1111
1,1111
2,0002
3,7782
6,4452
10,0012
Nilai X0 pasti = 1
Lalu cara mencari f(x), masukkan nilai x ke fungsi x untuk soal ini (
Untuk mendapatkan nilai x yang selanjutnya nilai x sebelumnya + h
Cari nilai x sampai sebanyak N yang dicari
(60,0058)
= 13,3353
CERTOK uasmtnk
RA & @abe07
Power Method
Soal:
A= [
] ; X0 = [ ]
][ ] = [
] / -10 = [
W1 = -10[
]
]
A.X2 = [
[
][
] -2,8 = [
]
A.X3 = [
][
]= [
] -2,284 = [
][
]= [
] - 2,128 = [
W4 = - 2,128[
W3 = -2,284[
A.X4 = [
W2 = -2,8[
]=[