1 given the following actual cpu burst for a tasknbsp 6 4 6

Assignment Help Applications of MATLAB
Reference no: EM13346728

1. Given the following actual CPU burst for a task,  {6, 4, 6, 4, 13, 13, 13}, and an initial "best guess" at the burst as 10, develop a simulation to predict the length of the task's next CPU burst using the following formula.  Execute the simulation using an α of 0.1, 0.5, and 0.9.  Include in the simulation the calculation of average burst time for each α and its comparison with the "true" average.

 τn+1 =  αnt + (1 - α)nτ

2. The Poisson function,

P(r) = Cr*e-C/ r!  where C = the distribution average, is useful for modeling a distribution when the probability of any one occurrence of P(r) is extremely small and r is the number of occurrences of the event. Applying this average to message volumes and interarrival rates, C =  λ * T where λ  = message volume and T = interarrival rate, would imply:

r (- λT) P(r) =  (λT) * e / r!

Develop a simulation program to accomplish the following:

1) Ask for and accept message volume per hour, Lambda.

2) Convert this volume to message volume per second, Lambda/3600.

3) Ask for and accept the number of simulations desired.

4) Ask for and accept a random number generator seed.

5) Perform the simulation loop to determine and print interarrival times for Lambda where RN is determined by a random number generator function. 

6. Compute the average message interarrival time = sum of all interarrival times / count.

Reference no: EM13346728

Questions Cloud

Compare or contrast assignmentwrite a report on tell tale : compare or contrast assignmentwrite a report on tell tale? heart and? the ?black ?catintroductioncomparison of two
Casehusky air is a private aviation fbo fixed base operator : casehusky air is a private aviation fbo fixed base operator located in dekalb illinois.nbsp l.t. scully and a group of
Question 11 the full disclosure principlea requires that : question 11. the full disclosure principlea. requires that when a change in inventory cost flow assumption is made the
Analysis of corrosion mechanisms and preventative : analysis of corrosion mechanisms and preventative measuresdissimilar and selective metal corrosion have presented a
1 given the following actual cpu burst for a tasknbsp 6 4 6 : 1. given the following actual cpu burst for a tasknbsp 6 4 6 4 13 13 13 and an initial best guess at the burst as 10
Analyze or look at brand and critically assess them an : analyze or look at brand and critically assess them an important analysis is the value chain. the brand value chain
Select a company for analysis this company should be quoted : select a company for analysis. this company should be quoted on one of the principal international exchanges. it can be
Write a paper about lavalifedating siteabout lavalifes : write a paper about lavalifedating siteabout lavalifes competitors eharmonyplenty of fish match.com another dating
Topic is about designingnbspa computernbspinterface to : topic is about designingnbspa computernbspinterface to people with visual disabilitiy blindness- colour blindness also

Reviews

Write a Review

Applications of MATLAB Questions & Answers

  In a shell-and-tube heat exchanger one fluid passes through

in a shell-and-tube heat exchanger one fluid passes through a central tube while another fluid flows through an outer

  1 this problem is intended to demonstrate some problems

1. this problem is intended to demonstrate some problems that can arise from the finite precision of numerical

  Create the following graph which contains a piecewise

create the following graph which contains a piecewise function where a line exists in the first interval a parabola in

  Problem consider a trapezoidal piece of polymer film as

problem consider a trapezoidal piece of polymer film as shown below. the parallel sides of the trapezoid are insulated

  Write a matlab function speed planetary n emesh first last

write a matlab function speed planetary n emesh first last arm that computes the speed of a given link in a

  1 we want to find the integral of a function at an

1. we want to find the integral of a function at an arbitrary location x from the origin.nbsp thuswhere ix0 is the

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd