Question

In R Programming The simulation of an M/M/1 Queuing System uses the service rate of 1.0...

In R Programming

  1. The simulation of an M/M/1 Queuing System uses the service rate of 1.0 and the arrival rate of 0.5 to find the mean waiting time as described in Section 7.8.3. You need to change the “print() statement” at line 60 on page 169 to a return statement of the mean waiting time. You can develop three independent R scripts to answer the following questions.

  1. If the arrival rate is always 0.5, draw a graph using the plot(serviceRate, meanWaitTime) function to illustrate the relation of mean waiting times with a given range of service rate from 0.5 to 1.5 with the increment of 0.1.

  2. If the service rate is always 1.0, draw a graph using the plot(arriveRate, meanWaitTime) to illustrate the relationship of mean waiting times with a given range of arrival rate from 0.3 to 0.8 with the increment of 0.1.

  3. Draw a 3D graph using the service rates (x axis) from 0.5 to 1.5 with the increment of 0.1; and the arrival rate (y axis) from 0.3 to 0.8 with the increment of 0.1 unit; and the mean waiting time as the z axis. You may use the function wireframe() in the library of lattice as in the section of 12.4 of our textbook to draw the graph. You have to develop a driver function to implement the simulation. You may use a text file, if you so choose, to store the collected data before your use wireframe() to display the 3D graph. But, this is not required.

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

Given , in  the simulation of an M/M/1 Queuing System ,

service rate = 1.0 and

arrival rate =0.5

We need to find the mean waiting Time.

Add a comment
Know the answer?
Add Answer to:
In R Programming The simulation of an M/M/1 Queuing System uses the service rate of 1.0...
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
  • Consider the M/M/1/GD/∞/∞ queuing system where λ and μ are the arrival and server rate, respectively....

    Consider the M/M/1/GD/∞/∞ queuing system where λ and μ are the arrival and server rate, respectively. Suppose customers arrive according to a rate given by λ = 12 customers per hour and that service time is exponential with a mean equal to 3 minutes. Suppose the arrival rate is increased by 20%. Determine the change in the average number of customers in the system and the average time a customer spends in the system.

  • Provide answers to the following questions using complete sentences. 1. Make a plot of vavg vs....

    Provide answers to the following questions using complete sentences. 1. Make a plot of vavg vs. r on linear graph paper for each set of data. Draw a best fit line through each set of data on the plot. 2. What is the slope of each best fit line for each set of data in the plot of vavg VS. ? What does this slope represent? 3. Make a plot of a vs. sin6 fon linear graph and draw a...

  • The Burger Dome waiting line model studies the waiting time of customers at its fast-food restaurant....

    The Burger Dome waiting line model studies the waiting time of customers at its fast-food restaurant. Burger Dome's single-server waiting line system has an arrival rate of 0.75 customers per minute and a service rate of 1 customer per minute. Adapt the Black Sheep Scarves spreadsheet shown below to simulate the operation of this waiting line. Make sure to use the random values for both interarrival and service times generated in the worksheet_12-23. Assuming that customer arrivals follow a Poisson...

  • 1) Consider a (MMI3GDk(oo) queueing system with k-4, an arrival rate 2 -3, and a service rate a) ...

    helpp 1) Consider a (MMI3GDk(oo) queueing system with k-4, an arrival rate 2 -3, and a service rate a) Nicely draw the rate diagram for this queueing system (similar to Figures 9 and 10, page 1065, in b) Explicitly write the system of differential equations for the birth-death process corresponding to μ = 3/2· your textbook). this queueing system (see your class notes). You need to write k+1 differential equations, one for each the states of the system. c) Solve...

  • 1) Consider a (MM3) GDikjoo) queucing system with k -4, an arrival rate 2 3, and a service rate μ...

    1) Consider a (MM3) GDikjoo) queucing system with k -4, an arrival rate 2 3, and a service rate μ = 3/2. a) Nicely draw the rate diagram for this queueing system (similar to Figures 9 and 10, page 1065, in b) Explicitly write the system of differential equations for the birth-death process corresponding to c) Solve the system of differential equations: assume that at time t-0, the system is full; that is, d) Explicitly give the solution (function) for...

  • Suppose that the production function Y = 0.5K0.5N0.5 1. Derive the steady state equations for output...

    Suppose that the production function Y = 0.5K0.5N0.5 1. Derive the steady state equations for output per worker, capital per worker and consump- tion per worker. 2. Assume that the depreciation rate is d=0.05. Compute steady state output per worker and consumption per worker for the following 11 values of savings rate: s = {0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}. Plot the values of output per worker and consumption per worker on the same graph....

  • 0.5/10 points Previous Answers MendStat14 1.E.030 My Notes Ask Your Teacher To decide on the number...

    0.5/10 points Previous Answers MendStat14 1.E.030 My Notes Ask Your Teacher To decide on the number of service centers needed for store to be built in the future, a supermarket chain wanted to obtain information on the length of time in minutes) required to service customers. To find the distribution of customer service me, a ngle of customer's 3.0 0.6 1.7 0.7 10 1.1 1.3 4.6 0.4 10 15 0.6 1.6 2.8 14 06 1.8 1.1 0.9 3.1 0.3 0.2...

  • Please answer both questions. Will Rate!! An automobile service facility specializing the next car to be...

    Please answer both questions. Will Rate!! An automobile service facility specializing the next car to be tuned engine tune-ups knows that 50 % of all tune-ups are done on four-cylinder automobiles, 35% on six-cylinder automobiles, and 15% on eight-cylinder automobiles. Let J the number of cylinders (a) What is the pmf of X7 P(x) line araph for the pmf of part (a). (b) Draw Probability Probability 0.5 0.45 0.4 035 0.3 0.5 045 0.4 О35 0.3 0.25 0.25 0.2 0.2...

  • (I) Let's start with very simple data table 1.0 2.0 3.0 4.0 5.0 6.0 -1 ±...

    (I) Let's start with very simple data table 1.0 2.0 3.0 4.0 5.0 6.0 -1 ± 1.8 4±2.0 9+ 1.0 14 + 0.8 19 s 0.8 24 + 1.2 2% 1.8 34 ± 2.0 7.0 8.0 9.0 1. Plot a graph of y vs. X on a piece of graph paper 2. Is it a straight line? Draw the best-fit line. 3. Compute the slope and y-intercept for this line. Write the equation for y in terms of x using...

  • Write a simulation of zombies/walkers that move randomly in one dimension. Each walker begins at the...

    Write a simulation of zombies/walkers that move randomly in one dimension. Each walker begins at the origin and at each time-step it takes a step to the right or left with equal probability, so that Pright= 0.5, Pleft= 0.5. Use a lattice of spacing x =1 and discrete time-steps, t= 1. Number of steps in each walk: 20 Number of walkers: 10.000 Please make your own algorithm for this simulation. Note: You will need to use a random number generator....

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