Question

Customer arrives at a grocery store to checkout counter according to a Poisson process with rate...

Customer arrives at a grocery store to checkout counter according to a Poisson process with rate per minute. Each customer carries a number of items that is uniformly distributed between 1 and 40. The store has 2 checkout counters, each capable of processing items at a rate of 15 per minute. To reduce the customer wait in queue, the store manager considers dedicating a one of the two counters to customers with x items or less and dedicating one of the two counters to customer x items. Write a small program to find the value of x that minimizes the average customer waiting time.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The Matlab program to plot and find solution to the above problem:

n = 40;
lamabda = 1;
r = 15;

W = zeros(14,1);

% Computing the mean waiting time for x = 21 to 34
for x = 21:34
% Counter 1
lambda1 = x/40;
ES1 = (1+x)/30;
ES1sq = sum((1:x).^2)/225/x;
rho1 = lambda1*ES1;
W1 = (lambda1 * ES1sq)/2/(1-rho1);
% Counter 2
lambda2 = (40-x)/40;
ES2 = (x+41)/30;
ES2sq = sum(((x+1):40).^2)/(9000-225*x);
rho2 = lambda2*ES2;
W2 = (lambda2 * ES2sq)/2/(1-rho2);
% average waiting time
W(x-20) = (x/40)*W1 + (40-x)/40*W2;
end

% plotting W(x) against x
plot(21:34,W,'r*','Markersize',6)
set(gca,'FontSize',12)
xlabel('x','FontSize',14)
ylabel('Meaning waiting time','FontSize',14)
grid

If any doubts please comment below.......

If this answer helped you, please leave a thumbs up :)

Add a comment
Know the answer?
Add Answer to:
Customer arrives at a grocery store to checkout counter according to a Poisson process with rate...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Customer arrivals at a checkout counter in a department store have a Poisson distribution with an...

    Customer arrivals at a checkout counter in a department store have a Poisson distribution with an average of seven per hour. For a given hour, find the probability that a. exactly nine customers arrive b. no more than three customers arrive c. at least two customers arrive

  • Pete's Market is a small local grocery store with only one checkout counter. Assume that shoppers...

    Pete's Market is a small local grocery store with only one checkout counter. Assume that shoppers arrive at the checkout lane according to a Poisson probability distribution, with an arrival rate of 9 customers per hour. The checkout service times follow an exponential probability distribution, with a service rate of 15 customers per hour. The manager’s service goal is to limit the waiting time prior to beginning the checkout process to no more than five minutes. Also the manager of...

  • Pete's Market is a small local grocery store with only one checkout counter. Assume that shoppers...

    Pete's Market is a small local grocery store with only one checkout counter. Assume that shoppers arrive at the checkout lane according to a Poisson probability distribution, with an arrival rate of 16 customers per hour. The checkout service times follow an exponential probability distribution, with a service rate of 20 customers per hour. The manager’s service goal is to limit the waiting time prior to beginning the checkout process to no more than five minutes. Also the manager of...

  • Service time for a customer coming through a checkout counter in a retail store is a...

    Service time for a customer coming through a checkout counter in a retail store is a random variable with the mean of 2.0 minutes and standard deviation of 4.0 minutes. Suppose that the distribution of service time is fairly close to a normal distribution. Suppose there are two counters in a store, n = 31 customers in the first line and n2 = 42 customers in the second line. Find the probability that the difference between the mean service time...

  • A system has a common checkout line for customers to wait to be served by one of four servers. Every customer arrives ba...

    A system has a common checkout line for customers to wait to be served by one of four servers. Every customer arrives based on an exponential distribution with mean .5 minutes and it takes Tria(1, 2, 3) minutes for checkout processing. Ignoring the time to walk from the queue to the server, what is the steady state utilization? Is the system stable?

  • A checkout counter at a supermarket completes the process according to an exponential distribution with a...

    A checkout counter at a supermarket completes the process according to an exponential distribution with a service rate of 6 per hour. A customer arrives at the checkout counter. Find the probability of the following events. a) The service is completed in fewer than 5 minutes. b) The customer leaves the counter more than 10 minutes after arriving. c) The service is completed in a time between 5 and 8 minutes.

  • Service time for a customer coming through a checkout counter in a retail store is a...

    Service time for a customer coming through a checkout counter in a retail store is a random variable with the mean of 4.0 minutes and standard deviation of 1.5 minutes. Suppose that the distribution of service time is fairly close to a normal distribution. Suppose there are two counters in a store, n1=41 customers in the first line and n2=51 customers in the second line. a.Compute the mean and the variance of X1 bar−?2 bar. b.Find the probability that the...

  • A certain small grocery store has a single checkout stand with a full-time cashier manning it....

    A certain small grocery store has a single checkout stand with a full-time cashier manning it. Customers arrive at the stand randomly (i.e. Poisson input process) at a mean rate of 30 per hour. When there is only one customer at the stand, he is processed by the cashier alone, with an expected service time of 1.5 minutes. However, the stock boy has been given standard instructions that whenever there is more than one customer at the stand, he is...

  • Customers arrivals at a checkout counter in a department store per hour have a Poisson distribution...

    Customers arrivals at a checkout counter in a department store per hour have a Poisson distribution with parameter λ = 7. Calculate the probabilities for the following events. (a) (2 points) Exactly seven customers arrive in a random 1-hour period. (b) (4 points) No more than two customers arrive in a random 1-hour period. (c) (4 points) At least three customers arrive in a random 1-hour period.

  • QUESTION 1 Customers arrive at a hair salon according to a Poisson process with an average of 1...

    QUESTION 1 Customers arrive at a hair salon according to a Poisson process with an average of 16 customers per hour. Which of the following is most likely true, based on this information: a. The hair salon serves customers on a walk-in basis (rather than by appointment times) b. If 10 customers arrive in the first hour, it is likely that 22 customers will arrive in the next hour. c. If the salon can serve an average of 20 customers...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT