Question
write code for JAVA MM1 queue interarrival distribution-exponential, rate 8 customers/sec (lambda) service distribution--exponential, rate 10 customer/sec (mu) hence avg interarrival is 1/8 seconds between
write code for JAVA MM1 queue
interarrival distribution-exponential, rate 8 customers/sec (lambda) service distribution--exponential, rate 10 customer/sec (mu) hence avg interarrival is 1/8 seconds between customers, equivalent to arrival of 8 cust a second avg service time is 1/10 sec/cust, equiv to 10 cust/sec can be served rho= lambda/mu=.8 simulate for 10,000 customer completions to make sure your logic is working, output the first 20 the clock times, the fel and del in order at those times find the avg queue length including customer in service when a customer arrives at end find the avg idle period
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started