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]
3 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]3 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
A coil having resistance of 7 ohms and inductance of 31.8 mh is connected to 230v,50hz supply.calculate 1. The circuit current 2
lora16 [44]

(1) The current in the circuit is 18.87 A,

(2) The phase angle is 54.97°

(3) The power factor is 0.574

(4) The power consumed is 2491.2 W

(1) To calculate the current in the circuit, first, we need to find the overall impedance of the circuit.

We can calculate the overall impendence of the circuit using the formula below.

  • Z = √[R²+(2πfL)²]........................ Equation 1

Where:

  • R = resistance of the coil
  • f = Frequency
  • L = Inductance of the coil
  • Z = Overall impedance of the circuit

From the question,

Given:

  • R = 7 ohms
  • L = 31.8 mH = 0.0318 H
  • f = 50 Hz
  • π = 3.14

Substitute these values into equation 1

  • Z = √[7²+(2×3.14×50×0.0318)²]
  • Z = √(49+99.7)
  • Z = √(148.7)
  • Z = 12.19 ohms.

Therefore we use the formula below to calculate the current in the circuit.

  • I = V/Z.................. Equation 2

Where:

  • V = Voltage
  • I = current in the circuit.

Given:

  • V = 230 V.

Substitute into equation 2

  • I = 230/12.19
  • I = 18.87 A

(2) To calculate the phase angle, we use the formula below.

  • ∅ = tan⁻¹(2πfL/R)............... Equation 3

Where:

  • ∅ = Phase angle.


Substitute into equation 3

  • ∅ = tan⁻¹(2×3.14×50×0.0318/7)
  • ∅ = tan⁻¹(9.9852/7)
  • ∅ = tan⁻¹(1.426)
  • ∅ = 54.97°

(3) To calculate the power factor, we use the formula below.

  • pf = cos∅............ Equation 4

Where:

  • pf = power factor.

Substitute the value of ∅ into equation 4

  • pf = cos(54.97°)
  • pf = 0.574.

(4) And Finally to calculate the power consumed we use the formula below.

  • P = V×I×pf................ Equation 5

Where:

  • P = The power consumed

Substitute the values into equation 5

  • P = 230(18.87)(0.574)
  • P = 2491.22 W


Hence, (1) The current in the circuit is 18.87 A, (2) The phase angle is 54.97° (3) The power factor is 0.574 (4) The power consumed is 2491.2 W

Learn more about Impedance here: brainly.com/question/13134405

5 0
2 years ago
The theoretical maximum specific gravity of a mix at 5.0% binder content is 2.495. Using a binder specific gravity of 1.0, find
PSYCHO15rus [73]

Answer:

The theoretical maximum specific gravity at 6.5% binder content is 2.44.

Explanation:

Given the specific gravity at 5.0 %  binder content 2.495

Therefore

95 % mix + 5 % binder  gives S.G. = 2.495

Where the  binder is S.G. = 1, Therefore

Per 100 mass unit we have (Mx + 5)/(Vx + 5) = 2.495

(95 +5)/(Vx +5) = 2.495

2.495 × (Vx + 5) = 100

Vx =35.08 to 95

Or density of mix = Mx/Vx = 95/35.08 = 2.7081

Therefore when we have 6.5 % binder content, we get

Per 100 mass unit

93.5 Mass unit of Mx has a volume of

Mass/Density = 93.5/2.7081 = 34.526 volume units

Therefore we have

At 6.5 % binder content.

(100 mass unit)/(34.526 + 6.5) = 2.44

The theoretical maximum specific gravity at 6.5% binder content = 2.44.

3 0
2 years ago
The role of civil and structural engineer is to produce buildings for
Alinara [238K]
So I’m thinking C because they both have a lot to do with design here is my evidence. Structural engineering is a component of civil engineering which focuses on the design and development of infrastructures such as bridges, skyscrapers, dams. Civil engineering is a professional engineering discipline that deals with the design, construction, and maintenance of the physical and naturally built environment. I may be wrong but hope this helped!
3 0
2 years ago
Fill in the blank to correctly complete the statement below.
ZanzabumX [31]
Did not engineer cables factoring wind shear
4 0
3 years ago
Before a rotameter can be used to measure an unknown flow rate, a calibration curve of flow rate versus rotameter reading must b
allochka39001 [22]
This statement is b which is true: hope this helped
6 0
2 years ago
Other questions:
  • 2. When manipulating your pedals, you should use your
    7·2 answers
  • 5. A typical paper clip weighs 0.59 g and consists of BCC iron. Calculate (a) the number of
    5·1 answer
  • Major processing methods for fiberglass composited include which of the following? Mark all that apply) a)- Open Mold b)- Closed
    10·1 answer
  • EMB agar is a medium used in the identification and isolation of pathogenic bacteria. It contains digested meat proteins as a so
    10·1 answer
  • Assume (for simplicity in this exercise) that only one tuple fits in a block and memory holds at most three blocks. Show the run
    8·1 answer
  • The rigid beam is supported by a pin at C and an A992 steel guy wire AB of length 6 ft. If the wire has a diameter of 0.2 in., d
    14·1 answer
  • Which best describes the body in terms of simple machines?
    6·1 answer
  • Two loads connected in parallel draw a total of 2.4 kW at 0.8 pf lagging from a 120-V rms, 60-Hz line. One load absorbs 1.5 kW a
    5·1 answer
  • potential difference is the work done in moving a unit positive charge from one point to another in an electric field. State Tru
    12·1 answer
  • When does someone's work on the Internet become copyrighted?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!