Anda di halaman 1dari 8

Tacana (535160100)

Prabu Alif (535160105)


Medisha Araz (535160106)

Adaptive Simpson

4
1. ∫0 (𝑥 + 2)𝑑𝑥 dengan akurasi 𝜀 =0.0001
(𝑏−𝑎)
S[0,4] = [𝑓 (0) + 4𝑓 (2) + 𝑓 (4)]
6
4
= [2 + 4(4) + 6]
6
4
= [24] = 16
6

(𝑏−𝑎)
S[0,2] = [𝑓 (0) + 4𝑓 (1) + 𝑓 (2)]
6
2
= [2 + 4(3) + 6]
6
1
= [18] = 6
3

(𝑏−𝑎)
S[2,4] = [𝑓 (2) + 4𝑓 (3) + 𝑓 (4)]
6
2
= [4 + 4(5) + 6]
6
1
= [30] = 10
3

Akurasi test
| S(a,b)-S(a,v)-S(v,b) |< 15ɛ.
| 16 – 6 – 10 |< 15ɛ.
1
0<ɛ
15
Karena 0 lebih kecil dari nilai toleransi maka
perhitungan selesai.
Maka hasil perhitungan aproksimasi integral dengan
metode Adaptive Simpson yaitu:
I = S(0,2) + S(2,4)
= 6 + 10 = 16

𝜀𝑡=𝑛𝑖𝑙𝑎𝑖 𝑠𝑒𝑏𝑒𝑛𝑎𝑟𝑛𝑦𝑎−𝑛𝑖𝑙𝑎𝑖 𝑎𝑝𝑟𝑜𝑘𝑠𝑖𝑚𝑎𝑠𝑖 × 100%


𝑛𝑖𝑙𝑎𝑖 𝑠𝑒𝑏𝑒𝑛𝑎𝑟𝑛𝑦𝑎

𝜀 16−16 × 100%
𝑡=
16

𝜀𝑡=0%

8
2. ∫0 (𝑥 2 + 3𝑥 − 2)𝑑𝑥 dengan akurasi 𝜀 =0.0001
(𝑏−𝑎)
S[0,8] = [𝑓 (0) + 4𝑓 (4) + 𝑓 (8)]
6
8
= [−2 + 4(26) + 86]
6
= 250,6

(𝑏−𝑎)
S[0,4] = [𝑓 (0) + 4𝑓 (2) + 𝑓 (4)]
6
4
= [−2 + 4(8) + 26]
6
= 37,3

(𝑏−𝑎)
S[4,8] = [𝑓 (4) + 4𝑓 (6) + 𝑓 (8)]
6
4
= [26 + 4(52) + 86]
6
=213,3

Akurasi test
| S(a,b)-S(a,v)-S(v,b) |< 15ɛ.
| 250,6 – 37,3 – 213,3 |< 15ɛ.
1
0<ɛ
15
Karena 0 lebih kecil dari nilai toleransi maka
perhitungan selesai.

Maka hasil perhitungan aproksimasi integral dengan


metode Adaptive Simpson yaitu:
I = S(0,4) + S(4,8)
= 250,6
Nilai kesalahan aproksimasi integral dengan metode
Adaptive Simpson:
𝜀𝑡=𝑛𝑖𝑙𝑎𝑖 𝑠𝑒𝑏𝑒𝑛𝑎𝑟𝑛𝑦𝑎−𝑛𝑖𝑙𝑎𝑖 𝑎𝑝𝑟𝑜𝑘𝑠𝑖𝑚𝑎𝑠𝑖 × 100%
𝑛𝑖𝑙𝑎𝑖 𝑠𝑒𝑏𝑒𝑛𝑎𝑟𝑛𝑦𝑎

𝜀 250,66−250,6 × 100%
𝑡=
250,66

𝜀𝑡=0,00023937%

8
3. ∫0 (2𝑥 + 3)𝑑𝑥 dengan akurasi 𝜀 =0.0001
(𝑏−𝑎)
S[0,8] = [𝑓 (0) + 4𝑓 (4) + 𝑓 (8)]
6
8
= [3 + 4(11) + 19]
6
= 88
(𝑏−𝑎)
S[0,4] = [𝑓 (0) + 4𝑓 (2) + 𝑓 (4)]
6
4
= [3 + 4(7) + 11]
6
= 28

(𝑏−𝑎)
S[4,8] = [𝑓 (4) + 4𝑓 (6) + 𝑓 (8)]
6
4
= [11 + 4(15) + 19]
6
=60

Akurasi test
| S(a,b)-S(a,v)-S(v,b) |< 15ɛ.
| 88-28-60 |< 15ɛ.
1
0<ɛ
15
Karena 0 lebih kecil dari nilai toleransi maka
perhitungan selesai.

Maka hasil perhitungan aproksimasi integral dengan


metode Adaptive Simpson yaitu:
I = S(0,4) + S(4,8)
= 88
Nilai kesalahan aproksimasi integral dengan metode
Adaptive Simpson:
𝜀𝑡=𝑛𝑖𝑙𝑎𝑖 𝑠𝑒𝑏𝑒𝑛𝑎𝑟𝑛𝑦𝑎−𝑛𝑖𝑙𝑎𝑖 𝑎𝑝𝑟𝑜𝑘𝑠𝑖𝑚𝑎𝑠𝑖 × 100%
𝑛𝑖𝑙𝑎𝑖 𝑠𝑒𝑏𝑒𝑛𝑎𝑟𝑛𝑦𝑎

𝜀 88,02−88 × 100%
𝑡=
88,02

𝜀𝑡=0,00022722%
BAB 4
ANALISIS DATA DAN EVALUASI
4
1. Fungsi = ∫0 (𝑥 + 2)𝑑𝑥 a = 0 b = 0.6 𝜀 = 0.0001 Hasil Integral = 1.3800 Bilangan
sebenarnya = 1.3800 Error = 0.0000 (Adaptive Simpson)
8
2. Fungsi = ∫0 (𝑥 2 + 3𝑥 − 2)𝑑𝑥 a= 0 b = 0.6 𝜀 =0.0005 Hasil Integral = -0.5880 Bil
angan sebenarnya = -0.5880 Error = 0.0000 (Adaptive Simpson)
8
3. Fungsi = ∫0 (2𝑥 + 3)𝑑𝑥 a = 0 b = 0.6 𝜀 =0.0002 Hasil Integral = 2.1600 Bilangan
sebenarnya = 2.1600 Error = 0.0000 (Adaptive Simpson)
4. Fungsi = ∫ (0.2 + 25x – 200x2 + 675x3 – 900x4 + 400x5)dx a = 0 b = 0.6 𝜀 =0.00
1 Hasil Integral = 1.2036 Bilangan sebenarnya = 1.2036 Error = 0.0002 (Adapti
ve Simpson)
2
5. Fungsi = ∫ 𝑥𝑒 −𝑥 dx a = 0 b = 0.6 𝜀 =0.0015 Hasil Integral = 0.1512 Bilangan se
benarnya = 0.1512 Error = 0.0137 (Adaptive Simpson)
𝑥
6. Fungsi = ∫ 𝑥𝑒 −2 - 0.2dx a = 0 b = 0.6 𝜀 =0.002 Hasil Integral = 0.0277 Bilangan
sebenarnya = 0.0277 Error = 0.0025 (Adaptive Simpson)
𝑥
7. Fungsi = ∫ 𝑥𝑒 2 + 2x2 dx a = 0 b = 0.6 𝜀 =0.0025 Hasil Iterasi = 0.3644 Bilangan
sebenarnya = 0.3644 Error = 0.0003 (Adaptive Simpson)
𝑥
8. Fungsi = ∫ (0.5 + 𝑥𝑒 −2 + 5x2) dx a = 0 b = 0.6 𝜀 =0.003 Hasil Iterasi = 0.8077 B
ilangan sebenarnya = 0.8077 Error = 0.0001
2
9. Fungsi = ∫ (1.5 + 𝑥𝑒 𝑥 + 4x2 + 10x3) dx a = 0 b = 0.6 𝜀 = 0.0035 Hasil Integral
= 1.6632 Bilangan sebenarnya = 1.6632 Error = 0.0012
10. Fungsi = ∫ (0.5 + 81x + 27x2 + 121x3 – 9x4 + 25x5 – 54x6)dx a = 0 b = 0.6 𝜀 = 0.
004 Hasil Integral = 20.5829 Bilangan sebenarnya = 20.5829
Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)
integral
0 4 0.005 16 16 0.0000
4
∫ (𝑥 + 2)𝑑𝑥
0.0001 16 16 0.0000
0
0.00005 16

Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)


integral
0 8 0.0005 250.666666 250.666666 1.133844

8
250.666666 250.666666 1.133844
∫ (𝑥 2 + 3𝑥 − 2)𝑑𝑥
0
250.666666 250.666666 1.133844

Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)


integral
0 8 0.0002 88.0 88.0 0.0000
8
88.0 0.0000
∫ (2𝑥 + 3)𝑑𝑥
0
88.0 0.0000

Fungsi a b 𝜀 Hasil Nilai sebenarnya Error


integral rate(%)
0 0.8 0.005 1.640497 1.640533 0.002158

0.8
0 0.8 0.0001 1.640533 1.587390
∫ (0.2
0
+ 25𝑥 – 200𝑥2
+ 675𝑥3 – 900𝑥4
+ 400𝑥5)𝑑𝑥

0 0.8 0.00005 1.640533 1.587390

Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)


integral
0 1 0.005 0.316286 0.316060 0.071674

1 0.316061 0.000260
2 0.0001
∫ 𝑥𝑒 −𝑥 𝑑𝑥
0
0.00005 0.316061 0.000260
Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)
integral
0 2 0.005 1.056770 1.056964 0.018381

2 1.056963 7.258638
𝑥 0.0001
∫ 𝑥𝑒 −2
0
− 0.2𝑑𝑥
0.00005 1.056963 7.258638

Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)


integral
0 4 0.005 76.222989 76.222891 0.000129

4 76.222893
𝑥 0.0001
∫ 𝑥𝑒 2 3.001923
0
+ 2x2 𝑑𝑥
0.00005 76.222892 1.432538

Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)


integral
0 6 0.005 366.203192 366.203406 5.868372

6 366.203404
𝑥 0.0001
∫ (0.5 + 𝑥𝑒 −2 5.540062
0
+ 5x2)
0.00005 366.203406 2.346122
Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)
integral
0 8 0.005 48.0 48.0 0.0

8 48.0 48.0 0.0


0.0001
∫ (x3 − 6x2
0
+ 8x + 2)
0.00005 48.0 48.0 0.0

Fungsi a b 𝜀 Hasil Nilai sebenarnya Error rate(%)


integral
0 8. 0.005 370.666666 370.666666 1.533545
5
8.5 0.000 370.666666 1.533545
∫ (3 − 2x)2𝑑𝑥 1
0
0.000 370.666666 1.533545
05