Вы находитесь на странице: 1из 5

Contoh 3.

1
y = x3 - 8x3 - 4x + 1

polinom :
diminta :

untuk x = 0.(0,1).0.5

buatlah tabel selisihnya


carilah y0
y1

y1

y3/2

2y2

2y2

Jawab : Tabel selisih


X

selisih I

selisih II

Selisih III

Selisih IV

0,0

-0,479

-,0154

0,006

0,00

0,1

0,521

-0,633

-0,148

0,006

0,00

0,2

-0,112

-0,781

-0,142

0,006

0,3

-0,893

-0,923

-0,136

0,4

-1,816

-1,059

0,5

-2,875

Dari tabel :

y0

= -0,479

y1

y1

= -0,633

2y2 = -0,154

= -0,479

y3/2 = -0,0,633
2y2 = -0,148

Contoh 3.2
y(x) = x2 + 2x - 1

Polinom :

untuk nilai x = 1,00 (0,02) 1,10

1,00

0,0804

0,0008

1,02

2,0804

0,0812

0,0008

1,04

2,1616

0,0820

0,0008

1,06

2,2436

0,0828

0,0008

1,08

2,3264

0,0836

1,10

2,4100

2 = selisih kedua sudah konstan karena polinom asal fungsi kwadrat

3.3 Formula Netwon Untuk Untuk Interpolasi


diberikan : set data :

(x0,y0)

jumlah data = (n+1) bh

(x1,y1)

carilah polinom asal

(x0,yn)

berderajat n

misalkan : nilai x0 , x1 ,....xn


jadi :

berselisih sama (= h)

x1 = x0 + 1h

xi = x0 + ih

x2 = x0 + 2h

untuk sembarang bilangan x

x = x0 + ph

Formula Interpolasi Netwon (Selisih Depan) :

yn (x) = y0 + p. y0+

p( p1)

2!

p ( p1 ) ( pn+1)

n!

+ p ( p1 ) ( p2)

3!

y0+

y0+

y0

Formula Interpolasi Netwon (Selisih belakang) :

yn (x) = yn + p. yn+
p ( p1 ) ( pn+1)

n!

p( p1)

2!

+ p ( p1 ) ( p2)

yn+
3!

yn

catatan :
1. h adalah selisih antara x0, x1, x2 dst
2. interpolasi netwon muka : x x0 = ph

p=

xx o
h

3. interpolasi netwo belakang : x = x0 + ph

p=

Contoh 3.4
carilah polinom berderajat 3 bila diketahui :
y(0) = 1

y(4) = 5

xx n
h

yn+

y(2) = 1

y(6) = 15

kemudian hitunglah y(8) = ......


jawab :

tabel selisih muka :


X

0
2
4
6

1
1
5
15

0
4
10

4
6

h=1
X0 = 0
P=

xx o
h

yn (x) = y0 + p. y0+

= 1 + X(0)+

=2 x

P=X

p( p1)

2!

y0+

+ p ( p1 ) ( p2)

3!

y0

X ( X1 ) ( X2)
X ( X 1)
(4)
(2)
6
2
x 3 x 22 x 2+2 x
+1
fungsi polinom yang
3

-2 x +

diminta

Untuk x = 5

y(5) = 2(5)2 2(5) +

(5)3 (5)22 x 2+2(5)


3

= 101

Contoh 3.5
Dari populasi per 10 tahun diperoleh data :
Tahun (x)

= 1891

1901

1911

1921

1931

Populasi (y) ribuan

= 46

66

81

93

101

+1

Diminta : perkirakan populasi tahun 1918


Jawab :
Tabel selisih muka :
X

1891
1901
1911
1921
1931

46
66
81
93

20
15
12
8

-5
-3
-4

2
-1

-3

101

h = 10
x0 = 1891
x = 1918

p=
4

xx o
h

= 2,7

(kita diminta mencari fungsi y(x) jadi harga x sudah diketahui = 1918

Rumus interpolasi netwon :


Y(1918) = 46 + 2,7(20) +

( 2,7 )( 2,71 )
( 2,7 ) ( 2,71 ) ( 2,72 )
(5 ) +
( 2 )+
2
6

( 2,7 )( 1,7 )( 0,7 ) (0,3)


(-3)
24
= 46 + 54 11,475 + 1,071 + 0,1204875 = 89,716
y(1918) = 89,72 ribu

Contoh 3.6
data dari soal 3.5
diminta estimasi untuk tahun 1918
jawab : h = 10
xn = 1931

interpolasi Netwon Belakang

x = 1918
dari rumus :
y(1918) = 101 + (-1,3)(8) + equation + equation + equation
= 101 10,4 0,78 0,0455 0,058 = 89,716
y(1918) = 89,72 ribu

check dengan rumus interpolasi muka : h = 10; x0 = 1891; x = 1918


y(1918) = 46 + 2,7(20) +

( 2,7 )( 1,7 )
( 2,7 )( 1,7 )( 0,7 )
(-5)+
(2)+
2
6

( 2,7 )( 1,7 )( 0,7 ) (0,3)


(-3)
24
= 46 + 54 11,475 + 1,071 + 0,1204875 = 89,716
y(1918) = 89,72 ribu

rumus muka
rumus belakang

Hasilnya sama

p = 2,7

Вам также может понравиться