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
kvasek [131]
4 years ago
7

The time delay of a long-distance call can be determined by multiplying a small fixed constant by the number of communication li

nks on the telephone network between the caller and callee. Suppose the telephone network of a company named RT&T is a free tree. The engineers of RT&T want to compute the maximum possible time delay that may be experienced in a long-distance call. Given a free tree T, the diameter of T is the length of a longest path between two nodes of T. Give an efficient algorithm for computing the diameter of T.
Engineering
1 answer:
aliina [53]4 years ago
4 0

Answer:

We can compute the diameter of the tree T by a pruning procedure, starting at the leaves (external nodes).

  • Remove all leaves of T. Let the remaining tree be T1.
  • Remove all leaves of T1. Let the remaining tree be T2.
  • Repeat the "remove" operation as follows: Remove all leaves of Ti. Let remaining tree be Ti+1.
  • When the remaining tree has only one node or two nodes, stop! Suppose now the remaining tree is Tk.
  • If Tk has only one node, that is the center of T. The diameter of T is 2k.
  • If Tk has two nodes, either can be the center of T. The diameter of T is 2k+1.

Explanation:

We can compute the diameter of the tree T by a pruning procedure, starting at the leaves (external nodes).

  • Remove all leaves of T. Let the remaining tree be T1.
  • Remove all leaves of T1. Let the remaining tree be T2.
  • Repeat the "remove" operation as follows: Remove all leaves of Ti. Let remaining tree be Ti+1.
  • When the remaining tree has only one node or two nodes, stop! Suppose now the remaining tree is Tk.
  • If Tk has only one node, that is the center of T. The diameter of T is 2k.
  • If Tk has two nodes, either can be the center of T. The diameter of T is 2k+1.
You might be interested in
ANSWER FAST PLEASE!!! WILL MARK BRAINLIEST!!!!!!
Phoenix [80]

Answer:

Phuong works on a research project and creates a report for her boss.

5 0
3 years ago
Read 2 more answers
Two wastewater treatment plant workers (one male and one female) are exposed to hydrogen sulfide in confined spaces in the treat
Vlada [557]

Answer:

Go to explaination for the details of the answer.

Explanation:

In order to determine the lifetime (75 years) chronic daily exposure for each individual, we have to first state the terms of our equation:

CDI = Chronic Daily Intake

C= Chemical concentration

CR= Contact Rate

EFD= Exposure Frequency and Distribution

BW= Body Weight

AT = Average Time.

Having names our variables lets create the equations that will be used to derive our answers.

Please kindly check attachment for details of the answer.

5 0
3 years ago
I logged on today to work on my makeup work. <br> A: True<br> B: False
Lelu [443]
True I don’t really know.
7 0
3 years ago
Read 2 more answers
3. Low-voltage conductors rarely cause<br> injuries.
hram777 [196]
True
the answer to this would be true
8 0
2 years ago
Reduce the force F ij = + (2 5 ) kN to point A(2m,3m) that acts on point B( 3m,5m) - .
Alexxx [7]

Given :

Force, \vec{F}= (2\hat{i} + 5\hat{j})\ kN.

Force is acting at point A( 2 m, 3 m ) and B( 3 m, 5 m )

To Find :

The work done by force F .

Solution :

Displacement vector between point A and B is :

\vec{d} = (3-2)\hat{i} + (5-3)\hat{j}\\\\\vec{d} = \hat{i} + 2\hat{j}

Now, we know work done is given by :

W = \vec{F}.\vec{d}\\\\W= (2\hat{i} + 5\hat{j}).(\hat{i}+\hat{2j})\\\\W = (2\times 1) +( 5\times 2) \ kJ\\\\W = 12 \ kJ

W = 12000 J

Therefore, work done by force is 12000 J .

6 0
3 years ago
Other questions:
  • Consider the series solution, Equation 5.42, for the plane wall with convection. Calculate midplane (x* = 0) and surface (x* = 1
    5·1 answer
  • Suppose that a wireless link layer using a CSMA-like protocol backs off 1ms on average. A packet’s link and physical layer heade
    5·1 answer
  • Which factors influence changes in consumer demands? check all that apply
    8·2 answers
  • Hydrogen gas (density = 1.165 kg/m^3 ) is stored at 25°C in a permeable cylindrical container which has an outer diameter of 0.2
    11·1 answer
  • The news media often report an earthquake's magnitude on the Richter scale. Which of the following items are characteristics of
    14·1 answer
  • Your coworker was impressed with the efficiency you showed in the previous problem and would like to apply your methods to a pro
    5·1 answer
  • Three bars each made of different materials are connected together and placed between two walls when the temperature is 12 oC. D
    9·1 answer
  • Which is a better hydraulic cross section for an open channel: one with a small or a large hydraulic radius?
    13·1 answer
  • Why is there an Engineering Process?
    15·2 answers
  • Derive the expression ε=ln(1+e), where ε is the true strain and e is the engineering strain. Note that this expression is not va
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!