Professional Documents
Culture Documents
Tugas Bab 8 Nomor 9 11 29 32
Tugas Bab 8 Nomor 9 11 29 32
Tugas Bab 8 Nomor 9 11 29 32
5002201070
29. Let time t = 0 correspond to 6 A.M., and suppose that the arrival rate (in arrivals per
hour) of customers to a breakfast restaurant that is open 6–9 A.M. is :
30, 0 ≤ 𝑡 ≤ 1
𝜆(𝑡) = {45, 1 ≤ 𝑡 ≤ 2
20, 2 ≤ 𝑡 ≤ 4
Derive a thinning algorithm for generating arrivals from this NSPP and generate the
first 100 arrival times.
1 𝑡
𝑥(𝑥+1)(2𝑥+1)
𝐹 (𝑥 ) = 𝑛(𝑛+1)(2𝑛+1)
Katakan, F(x) = R
𝑥(𝑥 + 1)(2𝑥 + 1)
=𝑅
𝑛(𝑛 + 1)(2𝑛 + 1)
𝑥(𝑥 + 1)(2𝑥 + 1) = 𝑅 (𝑛(𝑛 + 1)(2𝑛 + 1))
2𝑥3 + 3𝑥 2 + 𝑥 = 𝑅 (𝑛(𝑛 + 1)(2𝑛 + 1))
𝑥(𝑥 − 1)(2𝑥 − 1) 𝑥(𝑥 − 1)(2𝑥 − 1)
𝐹(𝑥 − 1) = <𝑅≤ = 𝐹(𝑥)
𝑛(𝑛 + 1)(2𝑛 + 1) 𝑛(𝑛 + 1)(2𝑛 + 1)
𝑥(𝑥 − 1)(2𝑥 − 1) 𝑥(𝑥 − 1)(2𝑥 − 1)
𝐹(𝑥 − 1) <𝑅≤ = 𝐹(𝑥)
= 180 180
Aditya Dwi Gumara
5002201070
32. Suppose that the arrival rate of hits to a web site is hits
per hour. Derive a thinning algorithm for generating arrivals from this NSPP.
Katakan t bergerak +1 dengan awalan t = 0
Maka :
1. t = 0, i = 0
2𝜋𝑡
2. Hitung 𝜆(𝑡) = 1000 + 50 sin , maka didapat 𝜆(𝑡) = 1000 +
24
50 sin 0 = 1000, ini merupakan nilai awal,
3. t = 0+1 = 1, i = 0+1 = 1, lalu kembali ke langkah ke 2
11. Data have been collected on service times at a drive-in bank window at the Shady
Lane National Bank. This data are summarized into intervals as follows:
[37,5 −
𝑄1 = 45 + 30] . 15 = 52,5
15
[75 −
55]
𝑄2 = 60 + . 30 = 77,1428
35
𝑄3 = 90 + [112,5 −
90] . 30 = 112,5
30