Question 3 A In a single pump petrol station, it was observed that the inter-arrival times and service times are as given in the table. Inter-arrival time Minutes 1 3 5 7 9 Probability 0.10 0.17 0.35 0.23 0.15 Service time Minutes 2 4 6 8 10 a) compute the midpoints for arrival and service times and construct the appropriate random number mappings for the random variables starting from 00. b) Simulate 15 customers arriving at the using the random numbers given below. Customer RN Probability 0.10 0.23 0.35 0.22 0.10 c) What is the average time a customer waits for service?/* d) What is the average time a customer is in the system (wait plus service time) ( e) What is the percent of time the clerk is busy with customers? Random Numbers To Be Used in the Simulation 1 15 Customer 2 3 4 5 6 7 8 9 10 11 12 13 14 Interarrival time 0.08 0.87 0.15 0.04 0.52 0.46 0.96 0.1 0.02 0.76 0.32 0.1 0.62 0.25 0.9 Service Time 0.72 0.46 0.96 00 0.27 0.73 0.76 0.25 0.11 0.47 0.28 0.83 0.52 0.39 0.68 Use the following headings to complete the simulation Time Between Arrivals Wait for RN Service End Arrival Begin Time Service service Time in Time Service System

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Please assist with question and respond in a timely manner.

Question 3 A
In a single pump petrol station, it was observed that the inter-arrival times and service times
are as given in the table.
Inter-arrival time
Minutes
1
3
5
7
9
Probability
0.10
0.17
0.35
0.23
0.15
Service time
Minutes
2
4
6
8
10
a) compute the midpoints for arrival and service times and construct the appropriate
random number mappings for the random variables starting from 00.
b) Simulate 15 customers arriving at the using the random numbers given below.
Customer RN
Probability
0.10
0.23
0.35
0.22
0.10
c) What is the average time a customer waits for service?/*
d) What is the average time a customer is in the system (wait plus service time) (
e) What is the percent of time the clerk is busy with customers?
Random Numbers To Be Used in the Simulation
1
15
Customer
2 3 4 5 6 7 8 9 10 11 12 13 14
Interarrival time 0.08 0.87 0.15 0.04 0.52 0.46 0.96 0.1 0.02 0.76 0.32 0.1 0.62 0.25 0.9
Service Time 0.72 0.46 0.96 00 0.27 0.73 0.76 0.25 0.11 0.47 0.28 0.83 0.52 0.39 0.68
Use the following headings to complete the simulation
Time
Between
Arrivals
Wait
for RN Service End
Arrival Begin
Time Service service
Time
in
Time Service System
Transcribed Image Text:Question 3 A In a single pump petrol station, it was observed that the inter-arrival times and service times are as given in the table. Inter-arrival time Minutes 1 3 5 7 9 Probability 0.10 0.17 0.35 0.23 0.15 Service time Minutes 2 4 6 8 10 a) compute the midpoints for arrival and service times and construct the appropriate random number mappings for the random variables starting from 00. b) Simulate 15 customers arriving at the using the random numbers given below. Customer RN Probability 0.10 0.23 0.35 0.22 0.10 c) What is the average time a customer waits for service?/* d) What is the average time a customer is in the system (wait plus service time) ( e) What is the percent of time the clerk is busy with customers? Random Numbers To Be Used in the Simulation 1 15 Customer 2 3 4 5 6 7 8 9 10 11 12 13 14 Interarrival time 0.08 0.87 0.15 0.04 0.52 0.46 0.96 0.1 0.02 0.76 0.32 0.1 0.62 0.25 0.9 Service Time 0.72 0.46 0.96 00 0.27 0.73 0.76 0.25 0.11 0.47 0.28 0.83 0.52 0.39 0.68 Use the following headings to complete the simulation Time Between Arrivals Wait for RN Service End Arrival Begin Time Service service Time in Time Service System
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 5 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

how did you compute the arrival time, the wait for service, the end service time and the time in system

 

Solution
Bartleby Expert
SEE SOLUTION
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman