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
What fraction of the worlds surface is estimated to be arable land?
zzz [600]

I believe the amount of arable land worldwide is 1/3 as a fraction.

6 0
3 years ago
Transcription machinery assembles at _______________.
vivado [14]

Answer:

The base

Explanation:

3 0
2 years ago
Two technicians are discussing the intake air temperature (IAT) sensor. Technician A says that the computer uses the IAT sensor
mart [117]

Both the technicians are correct.

Explanation

Intake air temperature sensor is used in engines of vehicles to monitor the temperature of air entering the engine.

They are basically made of thermistors whose electrical resistance changes according to temperature.

Depending upon the reading and accuracy of intake air temperature sensor, the power-train control module (PCM) will decide about the air and fuel mixture ratio in the engine.

The hot air in engine requires less fuel to operate the engine parts while cold air requires more fuel to operate the engine.

The ratio of air and fuel mixture should be maintained in the engine and it is done by PCM only after getting the input from IAT. So technician B is saying correct.

Also the IAT works as a backup to support the engine coolant temperature sensor by the computer.

As the IAT checks the temperature of outside air, it will help to change the coolant temperature of the engine based on the environment.

Thus technician A is also correct. So both the technicians are correct.

6 0
3 years ago
A heat engine is coupled with a dynamometer. The length of the load arm is 900 mm. The spring balance reading is 16. Applied wei
miss Akunina [59]

Answer:

P = 80.922 KW

Explanation:

Given data;

Length of load arm is 900 mm = 0.9 m

Spring balanced  read 16 N

Applied weight is 500 N

Rotational speed is 1774 rpm

we know that power is given as

P = T\times \omega

T Torque = (w -s) L = (500 - 16)0.9 = 435.6 Nm

\omega angular speed =\frac{2 \pi N}{60}

Therefore Power is

P =\frac{435.6 \time 2 \pi \times 1774}{60} = 80922.65  watt

P = 80.922 KW

4 0
3 years ago
The metal control joints used to relieve stresses caused by expansion and contraction in large ceiling or wall expenses in inter
timurjin [86]

Answer:

It’s called Expansion Joints

6 0
2 years ago
Other questions:
  • A bar of 75 mm diameter is reduced to 73mm by a cutting tool while cutting orthogonally. If the mean length of the cut chip is 7
    10·1 answer
  • Technician A says that when using an impact wrench to remove a bolt from the front of an engine's crankshaft, the crankshaft mus
    15·1 answer
  • Hi, I have an assignment in which i needs to write a report on (Rationalization of electrical energy consumption) and i need cha
    6·1 answer
  • What are factor of safety for brittle and ductile material
    5·1 answer
  • A closed system undergoes a process in which work is done on the system and the heat transfer Q occurs only at temperature Tb. F
    8·1 answer
  • A certain working substance receives 100 Btu reversibly as heat at a temperature of 1000℉ from an energy source at 3600°R. Refer
    13·1 answer
  • An inventor claims to have developed a power cycle operating between hot and cold reservoirs at 1175 K and 295 K, respectively,
    9·1 answer
  • Two technicians are discussing a vehicle that will not start. Tech A states that a problem with the immobilizer system may be th
    9·1 answer
  • A logic circuit with 3 gates and 2 inputs. The circuit will be read from the final output to the inputs.
    9·1 answer
  • The percentage modulation of AM changes from 50% to 70%. Originally at 50% modulation, carrier power was 70 W. Now, determine th
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!