Two mechanics are changing oil filters for the arriving
customers.
The service time has an Exponential distribution with mean 12
minutes for the first mechanic,
and mean 3 minutes for the second mechanic. When you arrive to have
your oil filter changed,
your probability of being served by the faster mechanic is
0.8.
Use simulation to generate 10000 service times and estimate the
mean service time for you.
Using R code
Let the service time for first mechanic be and the
service time for first mechanic be
.
Then
The resulting service time is with
probability 0.8 and
with
probability 0.2.
The R code for simulating 10,000 resultant service times
and finding
the mean is given below.
set.seed(7657)
N <- 10000
X <- array(dim=N)
for(i in 1:N)
{
u <- runif(1)
if(u<0.8)
{
X[i] <- rexp(1,rate=1/3)
}
else
{
X[i] <- rexp(1,rate=1/12)
}
}
mean(X)
The mean service time is
Two mechanics are changing oil filters for the arriving customers. The service time has an Exponential...
A single bay car wash with an exponential arrival rate and service time has cars arriving an average of 10 minutes apart, and an average service time of 2 minutes. The utilization factor is:
Consider a simple queuing system in which customers arrive randomly such that the time between successive arrivals is exponentially distributed with a rate parameter l = 2.8 per minute. The service time, that is the time it takes to serve each customer is also Exponentially distributed with a rate parameter m = 3 per minute. Create a Matlab simulation to model the above queuing system by randomly sampling time between arrivals and service times from the Exponential Distribution. If a...
A service facility has customers arriving at the rate of 8 customers per hour. The average time customers spend in the facility is 19 minutes. How many customers are in the facility on average?
4. The time (in minutes) that it takes a mechanic to change oil has an exponential distribution with mean 25 a) Find PX22), P(X> 15), and P(15 <X<22) b) Find the median.
The parts department of a large automobile dealership has a counter used exclusively for mechanics’ requests for parts. The time between requests can be modeled by a negative exponential distribution that has a mean of five minutes. A clerk can handle requests at a rate of 15 per hour, and this can be modeled by a Poisson distribution that has a mean of 15. Suppose there are two clerks at the counter. On average, how many mechanics would be at...
Sharp Discounts Wholesale Club has two service desks, one at each entrance of the store. Customers arrive according to a Poisson distribution at each entrance at an average of one every 7.5 minutes. Without exception, when customers finish shopping, they checkout at the service desk near the entrance where they entered the store. The negative exponentially distributed service time is 6 minutes per customer. How many customers, on average, are in each service desk system (waiting and being served)?
JAVA CODE REQUIRED
A barber shop has one or more barbers who service customers as they arrive on a first- come-first-serve basis. Depending on the type of haircut a customer desires the service time varies. A barber shop also has a limited number of chairs for waiting customers. If all the chairs are filled, an arriving customer leaves without entering. For this assignment you will simulate a barber shop with customers arriving at various times each requiring a variety of...
Rapid Bank always has three tellers on duty. Customers arrive to receive service from a teller at a mean rate of 45 per hour. A teller requires an average of 3 minutes to serve a customer. When both tellers are busy, an arriving customer joins a single line to wait for service. Experience has shown that customers wait in line an average of 1.5 minutes before service begins.Determine the basic measures of performance – ??, ?, ??, and ? –...
The time required for Quick Changers to complete an oil change service on an automobile follows a normal distribution, with a mean of 17 minutes and a standard deviation of 2.5 minutes. Quick Changers guarantees customers that the service will take no longer than 20 minutes, else the service is half-price. If Quick Changers does not want to give the discount to more than 3% of its customers, how long should it make the guaranteed time limit? (Round to the...
Problem 11-11 (Algorithmic) Agan Interior Design provides home and office decorating assistance to its customers. In normal operation, an average of 2.9 customers arrive each hour. One design consultant is available to answer customer questions and make product recommendations. The consultant averages 10 minutes with each customer. Compute the operating characteristics of the customer waiting line, assuming Poisson arrivals and exponential service times. Round your answers to four decimal places. Do not round intermediate calculations. Lq = L = Wq...