Question

In: Computer Science

Consider two hosts, A and B, connected by a single link of rate R bps. Suppose...

Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the two hosts are separated by d meters, and suppose the propagation speed along the link is s meters/sec. Host A is to send a packet of size L bits to Host B.

a) (3 points) Define the propagation delay, dprop (i.e., explain what is propagation delay and how to compute it).

b) (3 points) Define the transmission time of the packet, dtrans? (i.e., explain what is transmission delay and how to compute it).

c) (4 points) Suppose dprop is greater than dtrans. At time t = dtrans, where is the first bit of the packet and where is the last bit of the packet?

Solutions

Expert Solution

Solution:

Given,

=>Bandwidth = R bps

=>Distance = d meters

=>Propagation speed = s meters/sec

=>Packet length = L bits

(a)

Explanation:

Calculating propagation delay:

=>Propgation delay is the ration of distance and propagation speed.

=>Propagation delay = distance/propagation speed

=>Propagation delay = d meters/s meters/sec

=>Propagation delay = (d/s) sec

Calculating dprop:

=>dprop is the ration of distance and propagation speed.

=>dprop = distance/propagation speed

=>dprop = d meters/s meters/sec

=>dprop = (d/s) sec

(b)

Explanation:

Transmission delay:

=>Tranmission delay is the time taken to put all the bits of packet into the channel/link

Calculating transmission delay(dtrans):

=>Transmission delay(dtrans) = packet length/bandwidth

=>Transmission delay(dtrans) = L bits/R bps

=>Transmission delay(dtrans) = (L/R) sec

(c)

Explanation:

=>At t = dtrans, first bit wil be at s*dtrans means at d*(L/R) meters from the host.

=>At t = dtrans last bit of packet will be leaving the host.

I have explained each and every part with the help of statements attached to it.


Related Solutions

Suppose that two speakers are connected to a single nail with two strings to form a...
Suppose that two speakers are connected to a single nail with two strings to form a triangular shape. One string has a 3rd harmonic wave of 300 Hz and weighs 3 g/m. The other string has a fundamental frequency of 400 Hz and weighs 4 g/m. Both strings have a tension of 2N When the speakers play at 1600 Hz, what interference happens at the location of the nail? Speed of sound is 343 m/s
1.- Show that (R, τs) is connected. Also show that (a, b) is connected, with the...
1.- Show that (R, τs) is connected. Also show that (a, b) is connected, with the subspace topology given by τs. 2. Let f: X → Y continue. We say that f is open if it sends open of X in open of Y. Show that the canonical projection ρi: X1 × X2 → Xi (x1, x2) −→ xi It is continuous and open, for i = 1, 2, where (X1, τ1) and (X2, τ2) are two topological spaces and...
Suppose we know that the average heart rate measured for the 30 days is 129.5 bps....
Suppose we know that the average heart rate measured for the 30 days is 129.5 bps. Assume that fetal heart rate is normally distributed. He decides to use the sample’s Standard deviation of 12 bps because the populations Standard deviation is not known. Will this 95% confidence interval be more accurate than the confidence interval from above? Justify your answer.  
This problem has 3 parts. A single resistor with resistance R ohms is connected to a...
This problem has 3 parts. A single resistor with resistance R ohms is connected to a battery. part a - If the single resistor is replaced with 2 identical resistors each of R ohms connected in series, will the battery have to provide more power, less power or the same? Explain your choice, include any equations that apply. part b If instead of connecting the two resistors in series, they are connected in parallel, will the battery have to provide...
Integral Let f:[a,b]→R and g:[a,b]→R be two bounded functions. Suppose f≤g on [a,b]. Use the information...
Integral Let f:[a,b]→R and g:[a,b]→R be two bounded functions. Suppose f≤g on [a,b]. Use the information to prove thatL(f)≤L(g)andU(f)≤U(g). Information: g : [0, 1] —> R be defined by if x=0, g(x)=1; if x=m/n (m and n are positive integer with no common factor), g(x)=1/n; if x doesn't belong to rational number, g(x)=0 g is discontinuous at every rational number in[0,1]. g is Riemann integrable on [0,1] based on the fact that Suppose h:[a,b]→R is continuous everywhere except at a...
a) Suppose f:[a, b] → R is continuous on [a, b] and differentiable on (a, b)...
a) Suppose f:[a, b] → R is continuous on [a, b] and differentiable on (a, b) and f ' < -1 on (a, b). Prove that f is strictly decreasing on [a, b]. b) Suppose f:[a, b] → R is continuous on [a, b] and differentiable on (a, b) and f ' ≠ -1 on (a, b).   Why must it be true that either f ' > -1 on all of (a, b) or f ' < -1 on all...
Consider a scenario with two hosts, Hind and Sarah. A web server running on Hind's device...
Consider a scenario with two hosts, Hind and Sarah. A web server running on Hind's device is trying to send data to a browser on Sarah’s device. For each TCP connection, Hind has a buffer of 512 bytes and Sarah has a buffer of 1024 bytes. Assume TCP sequence numbers began at 0. A. Sarah received up to byte 560 in order from Hind, although her browser has only read and delivered up to the first 60 bytes. What will...
Suppose A and B are closed subsets of R. Show that A ∩ B and A...
Suppose A and B are closed subsets of R. Show that A ∩ B and A ∪ B are closed.
Two resistors have resistances R(smaller) and R(larger), where R(smaller) < R(larger). When the resistors are connected...
Two resistors have resistances R(smaller) and R(larger), where R(smaller) < R(larger). When the resistors are connected in series to a 12.0-V battery, the current from the battery is 1.48 A. When the resistors are connected in parallel to the battery, the total current from the battery is 10.9 A. Determine the two resistances. R(smaller)= R(larger)=
Two resistors have resistances R(smaller) and R(larger), where R(smaller) < R(larger). When the resistors are connected...
Two resistors have resistances R(smaller) and R(larger), where R(smaller) < R(larger). When the resistors are connected in series to a 12.0-V battery, the current from the battery is 1.43 A. When the resistors are connected in parallel to the battery, the total current from the battery is 9.95 A. Determine the two resistances.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT