You are on page 1of 4

Nama : Marsa Apriani

Kelas : 2Eg.A

Mata Kuliah : Metode Numerik

Dosen Pengajar : DR. Yulianto,W.

INTEGRASI NUMERIK

0,8 1−𝑥
Soal : ∫0,2 √1+𝑥

a. Metode trapezoid

𝑎−𝑏
ℎ=
𝑛
0,8 − 0,6
ℎ=
2
ℎ = 0,06

X1 = 0,2

1 x 
1/ 2

F(x1) =  
1 x 

1/ 2
 1  0,2 
= 
 1  0,2 

= 0,816496581

X2 = 0,26

1 x 
1/ 2

F(x1) =  
1 x 

1/ 2
 1  0,26 
= 
 1  0,26 
= 0,766356045

Lanjutkan sampai f(x10) kemudian hitung integralnya menggunakan rumus:

Tabel integral metode trapezoid

x f(x) Integral
0,2 0,816497 0,346119
0,26 0,766356
0,32 0,717741
0,38 0,67028
0,44 0,62361
0,5 0,57735
0,56 0,531085
0,62 0,484322
0,68 0,436436
0,74 0,386556
0,8 0,333333

0,06
L= (0,816497 + 2(0,766356) + 2(0,717741) + 2(0,67028) +
2
2(0,62361) + 2(0,57735) + 2(0,531085) + 2(0,484322) + 2(0,436436) +
2(0,386556 + 0,333333)

L= 0,346119

b. Metode Simpson 1/3


𝑎−𝑏
ℎ=
𝑛
0,8 − 0,6
ℎ=
2
ℎ = 0,06

X1 = 0,2

1 x 
1/ 2

F(x1) =  
1 x 
1/ 2
 1  0,2 
= 
 1  0,2 

= 0,816496581

X2 = 0,26

1 x 
1/ 2

F(x1) =  
1 x 

1/ 2
 1  0,26 
= 
 1  0,26 

= 0,766356045

Tabel Integral Metode Simpson

i x f(x) Integral
0 0,2 0,816496581 0,346141
1 0,26 0,766356045
2 0,32 0,717740563
3 0,38 0,670280063
4 0,44 0,623609564
5 0,5 0,577350269
6 0,56 0,531085005
7 0,62 0,484322105
8 0,68 0,43643578
9 0,74 0,386555672
10 0,8 0,333333333

𝒉
L = 𝟑 (𝑭𝟎 + 𝟒 ∑ 𝒇𝒊 + 𝟐 ∑ 𝒇𝒊 + 𝒇𝒏

Keterangan : 𝟒 ∑ 𝒇𝒊 → 𝒊 = 𝒈𝒂𝒏𝒋𝒊𝒍

𝟐 ∑ 𝒇𝒊 → 𝒊 = 𝒈𝒆𝒏𝒂𝒑
Maka :
0,06
L= ( 0,816496581 + 4(0,766356045 + 0,670280063 + 0,577350269 +
3
0,484322105 + 0,386555672) + 2(0,717740563 + 0,623609564 +
0,531085005 + 0,43643578) + 0,333333333)

L = 0,346141

You might also like