1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
umka2103 [35]
3 years ago
10

Suppose you are designing a sliding window protocol for a 1 Mbps point-to-point link to the moon, which has a one-way latency of

1.25 seconds. Assume that each frame carries 1 KB of data. (a) How many frames need to be in transit to keep this pipe full? (b) What is the maximum reasonable size for SWS and RWS needed for such a system? (c) For the SWS and RWS sizes found in part b, what is the number of bits needed for the sequence number?
Engineering
1 answer:
mylen [45]3 years ago
7 0

Answer:

approx 306 frames need to be in transit to keep this pipe full

maximum reasonable size is 306 frames

sequence number = 10 bit

Explanation:

given data

transmission rate = 1 Mbps

size of frame Tt = 1 KB

one way latency Tp = 1.25 s

to find out

How many frames need and What is the maximum reasonable size for SWS and RWS and what is the number of bits needed for the sequence number

solution

we know useful time is = \frac{1 KB}{1 Mbps} = \frac{1024*8}{1000*1000}

so total time is

total time = Tt + 2Tp

total time = \frac{1024*8}{1000*1000} + 2 × 1.25

so

possible frames are

\frac{n*Tt}{Tt+2Tp} ≤ 1

n ≤ 1 + \frac{2.5*1000000}{1024*8}

n ≤ 306.17

so approx 306 frames need to be in transit to keep this pipe full

and

we know here

size of sending window is equal to size of receiving window

so maximum reasonable size is 306 frames

and

bit need for sequence number is

sequence number = log^{306+306}_2

sequence number = 10 bit

You might be interested in
Which statement about lean manufacturing is true when you compare it to mass production?
Len [333]
Where are the statements then bbs lol
6 0
3 years ago
Write a iterative function that finds the n-th integer of the Fibonacci sequence. Then build a minimal program (main function) t
Natasha2012 [34]

Answer:

Codes for each of the problems are explained below

Explanation:

PROBLEM 1 IN C++:

#include<iostream>

using namespace std;

//fib function that calculate nth integer of the fibonacci sequence.

void fib(int n){

  // l and r inital fibonacci values for n=1 and n=2;

  int l=1,r=1,c;

 

  //if n==1 or n==2 then print 1.

  if(n==1 || n==2){

      cout << 1;

      return;

  }

  //for loop runs n-2 times and calculates nth integer of fibonacci sequence.

  for(int i=0;i<n-2;i++){

      c=l+r;

      l=r;

      r=c;

      cout << "(" << i << "," << c << ") ";

  }

  //prints nth integer of the fibonacci sequence stored in c.

  cout << "\n" << c;

}

int main(){

  int n; //declared variable n

  cin >> n; //inputs n to find nth integer of the fibonacci sequence.

  fib(n);//calls function fib to calculate and print fibonacci number.

}

PROBLEM 2 IN PYTHON:

def fib(n):

   print("fib({})".format(n), end=' ')

   if n <= 1:

       return n

   else:

       return fib(n - 1) + fib(n - 2)

if __name__ == '__main__':

   n = int(input())

   result = fib(n)

   print()

   print(result)

7 0
3 years ago
Read 2 more answers
A disk of radius 2.1 cm has a surface charge density of 5.6 µC/m2 on its upper face. What is the magnitude of the electric field
Assoli18 [71]

Answer:

=6.3*10^3 N/C

Explanation:

solution:

from this below equation (1)

E=σ/2εo(1-\frac{z}{\sqrt{z^2-R^2} } )...........(1)

we obtain:

=5.6*10^-6 \frac{c}{m^2} /2(8.85*10^-12\frac{c^2}{N.m^2} ).(1-\frac{9.5 cm}{\sqrt{9.5^2-2.1^2} } )

=6.3*10^3 N/C

8 0
3 years ago
Help please if you don't know don't give wrong answer please​
mrs_skeptik [129]

4.75cm * 5.22cm is 24.795cm²

but let's do this with m² instead:

0.0475m * 0.0522m = 0.0024795

now we can compare it with the 49780 much easier.

devide. that's the <u>roughly</u> 20,000,000fold of the plot, but it's still squared, so let's take the root

so the representative fraction is 1:4,480.

the exact value is in the screens

have a nice day:)

6 0
3 years ago
Advantage and disadvantages of Bessemer process of steel making
Snowcat [4.5K]

Advantages:

- allowed steel to be produced without fuel

- using the impurities of the iron to create the necessary heat

- reduced the costs of steel production

Disadvantages:

- could convert only a pig iron low in phosphorus and sulfur

- these elements could have been removed by adding a basic flux such as lime, but the basic sl*g produced would have degraded the acidic refractory lining of Bessemer's converter.

au revoir mon amour <3

7 0
2 years ago
Other questions:
  • There is an electric field near the Earth's surface whose magnitude is about 145 V/m . How much energy is stored per cubic meter
    14·1 answer
  • A fatigue test is performed on 69 rotating specimens made of 5160H steel. The measured number of cycles to failure (L in kcycles
    6·1 answer
  • Mohr's circle represents: A Orientation dependence of normal and shear stresses at a point in mechanical members B The stress di
    8·1 answer
  • Aerospace engineers who work for certain government agencies are often required to have security clearance. Explain two reasons
    9·1 answer
  • If the outside diameter of a pipe is 2 m, the length of a piece of insulation wrapped around it would be a)- 628 cm b)- 12.56 m.
    15·1 answer
  • Which type of load is not resisted by a pinned joint? A) Moment B) Shear C) Axial D) Compression
    7·1 answer
  • Determine the average power, complex power and power factor (including whether it is leading or lagging) for a load circuit whos
    9·2 answers
  • A manager who focuses on the employees who enable a company to do business is human resource management. True True False False
    7·1 answer
  • A solid steel shaft ABCDE turns freely in bearings at points A and E. The shaft is driven by the gear at C, which applies a torq
    14·1 answer
  • Algorithm for sum 2+4+6+….+n
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!