Write a program to simulate for a given value of ?

Assignment Help Basic Computer Science
Reference no: EM131046350

Consider the following Ethernet model. Transmission attempts are at random times with an average spacing of λ slot times; specifically, the interval between consecutive attempts is an exponential random variable x = -λ log u, where u is chosen randomly in the interval 0 ≤ u ≤ 1. An attempt at time t results in a collision if there is another attempt in the range from t - 1 to t + 1, where t is measured in units of the 51.2-μs slot time; otherwise the attempt succeeds.

(a) Write a program to simulate, for a given value of λ, the average number of slot times needed before a successful transmission, called the contention interval.
Find the minimum value of the contention interval. Note that you will have to find one attempt past the one that succeeds, in order to determine if there was a collision. Ignore retransmissions, which probably do not fit the random model above.

(b) The Ethernet alternates between contention intervals and successful transmissions. Suppose the average successful transmission lasts 8 slot times (512 bytes). Using your minimum length of the contention interval from above, what fraction of the theoretical 10-Mbps bandwidth is available for transmissions?

Reference no: EM131046350

Questions Cloud

Express the available bandwidth as a function of n : Assuming the average packet size is 5 slot times, express the available bandwidth as a function of N.
How to commutate with teacher especially they were from usa : I learned how to commutate with them especially they were from USA. I was too scared because it's hard to speak or play with kids from another country.
Discuss how learning to perform the music of musical styles : For this essay, I'd like you to consider the various ways in which musicians (including yourself) have crossed the musical boundaries between cultures to learn how to perform or compose music in ways different from the cultures in which they grew ..
Issues related to the cost of capital : With respect to issues related to the cost of capital:Select one:a. an increase in the debt ratio will result in greater risk for debtholders but not equityholders.
Write a program to simulate for a given value of ? : Find the minimum value of the contention interval. Note that you will have to find one attempt past the one that succeeds, in order to determine if there was a collision. Ignore retransmissions, which probably do not fit the random model above.
Discuss how these identified anomalies may impact negatively : Using a wide range of quality literature, and referring to the video critically discuss how these identified anomalies may impact negatively on both the patient's care and the nurse's professional image
Write essay about the comparing of rene descartes vs spinoza : Write essay about the comparing of rene Descartes vs Spinoza on the mind and body argument .axplan each one brifly.
Examines both people and organizational considerations : Describe what needs to be done to foster a successful implementation of strategies - Examines both people and organizational considerations
Types of information the executives : Describe the types of information employees at an Apple store require and compare it to the types of information the executives at Apple's corporate headquarters require. Describe the links between these two types of information.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Use the following formula to calculate a car''s mpg

C sharp Write C# code to prompt a user to enter the number of miles he or she has driven and the gallons of gas used

  Explain the operation of the device from a physics perspec

Explain the operation of the device from a physics perspective and discuss the main features or specifications. Explain how the packaging, assembly, or housing makes the device appropriate for the unique environmental conditions. Be sure to provide a..

  Write script that enables user to enter eigher a fahrenheit

Use these functions to write a script that enables the user to enter eigher a Fahrenheit or a Celsius temperature and displays the Celsius or Fahrenheit equivalent.

  Calculate the total wages for an employee

Design and create a program to calculate the total wages for an employee. An employee is paid $10 per hour for the first 40 hours. The employee is paid $15 per hour for every hour greater than 40 hours and up to 50 hours.

  Draw pictures of the list names afte

Draw pictures of the list names after each line of the following code. Show the head pointer of the list, and the values and next pointers of every node. Draw pointers as arrows, and the null pointer as a slash or X. You may assume the list is sin..

  Element method for proving a set equals

Use the element method for proving a set equals the empty set to

  Write a program with three radio buttons

Write a program with three radio buttons and circle. ( You can choose whether you draw the circle or if the circle is a label image.) When the user clicks on the first radio button

  The research process and findings

The Research Process and Findings

  Role of technology in enhancing overall compositeness

What is the role of technology in enhancing the overall compositeness of a firm; supporting your answer with suitable examples?

  Violating terms of the agreement between the companies

In 2004, Toys"R"Us sued Amazon.com for violating terms of the agreement between the companies; specifically, Toys"R"Us objected to Amazon.com's permitting Amazon Marketplace retailers to sell toys. (Note: When the lawsuit was filed, Amazon Marketplac..

  Three physical locations distributed across the county

The Banana Tree Travel Agency is expanding from a single physical location to three physical locations distributed across the county to better serve the needs of their customers.

  What is a predefined control event

What is a predefined control event? Discuss its usage in programming.

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