## Develop matlab monte carlo queuing simulator, MATLAB Programming

Assignment Help:

Answers should be submitted in an MS Word document. Simulations should accompany answers in a separate MATLAB file.

1)  Queuing Simulator: Consider a communications router that can route (service) EXACTLY 800 messages per second (mps).

• Assume that messages arrive at an AVERAGE rate of 850 messages per second.
• Assume that the arriving messages follow an exponential distribution, while the routing (service) times are constant.

a.  Develop and submit a MATLAB Monte Carlo Queuing Simulator that will:

• Graphically show the number of messages in the queue as a function of time. Provide a screen shot in this word document.
• In text show the average number of messages in the queue and the average time a message spends waiting in the queue. Provide a screen shot in this word document.
• Note: you will have to modify the MC Queuing simulator attached

b.  Run your simulation for the arrival and routing (service) rates indicated above for a total of 4000 messages. Provide a screen shot of the results.

c.  Does the queue appear stable from the output? Explain.

d. Does this make sense? Explain. (Hint: look at arrival rates and servicing rates)

2) Queuing Model Questions: Consider a car repair shop a with the following characteristics:

• 6 customers arrive per hour
• 4 mechanics
• Each mechanic is capable of servicing 2 customers per hour
• Assume that arrival times and service times are exponentially distributed.

a.  How would you represent the system using Kendall's notation?

b.  Calculate:

a.  The utilization factor for the system.

b.  Is the queue stable or unstable? Why or why not?

c.  The average number of customers in the queue.

d. The average number of customers in the system.

e. The average wait time in the queue.

f.  The average wait time in the system.

c.  What is the probability the 3 or fewer more customers will show up in the first hour?

3)  RAM Questions: Consider two years of driving your car.

• You drive an average of 1 hour a day for 300 days a year.
• Over this period of time you have experienced 3 malfunctions that have necessitated taking the car in for servicing.
• When you take the car in for servicing, you spent an average of 3 hours waiting for the car to be repaired.

a.  What is the mean time between failures for your car?

b.  What is the reliability of your car over a 1 year period?

c.  What is the mean down time for your car?

d.  What is the availability of your car?

#### Nested programming, how do I make a second main function?

how do I make a second main function?

#### Decision feedback equiliser, i want matlab code for DFB Equiliser and the o...

i want matlab code for DFB Equiliser and the output between tha number of iterations vs MSE

#### Simulte the operation of the system, People arrive at a microscope exhibit ...

People arrive at a microscope exhibit at a rate of one every 8+/- 2 minutes. Only one person can see the exhibit at a time. It takes 5 +/- 2 minutes to see the exhibit. A person

#### Example of variables and assignment statements, Example of Variables and as...

Example of Variables and assignment statements: The expression is computed and then that value is stored in the variable. For illustration, this is the way it would appear in

#### Advection-diffusion, You are to submit your completed MATLAB code and a sho...

You are to submit your completed MATLAB code and a short written report through the Blackboard upload facility as a single zip ?le. This zip ?le should consist of your ?nite volume

#### Steady-state circuit in a series rl circuit, Q. The steady-state circuit i(...

Q. The steady-state circuit i(t) in a series RL circuit due to a periodic sawtooth voltage is given by where θ n = tan -1 (nω 0 L/R).With the parameters V A = 25 V, T 0

#### Critical path method in matlab, i made graph using adjacent matrix i have t...

i made graph using adjacent matrix i have to find the critical path on that graph in matlab work can you please give me that code.

#### Rc phase shift oscillater, design a rc phase shift oscillator for a particu...

design a rc phase shift oscillator for a particular frequency of oscillation and generate a sinusoidal signal

#### Implement a matlab function to calculate value, Implement a MatLab function...

Implement a MatLab function to calculate y.  The function should take two input arguments 1) A vector of parameters In the above example this would be of length 3, the first

#### Towers, i need someone to write a matlab code to solve a model.

i need someone to write a matlab code to solve a model.