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
Two balanced Y-connected loads in parallel, one drawing 15kW at 0.6 power factor lagging and the other drawing 10kVA at 0.8 powe
NemiM [27]

Answer:

(a) attached below

(b) pf_{C}=0.85 lagging

(c) I_{C} =32.37 A

(d) X_{C} =49.37 Ω

(e) I_{cap} =9.72 A and I_{line} =27.66 A

Explanation:

Given data:

P_{1}=15 kW

S_{2} =10 kVA

pf_{1} =0.6 lagging

pf_{2}=0.8 leading

V=480 Volts

(a) Draw the power triangle for each load and for the combined load.

\alpha_{1}=cos^{-1} (0.6)=53.13°

\alpha_{2}=cos^{-1} (0.8)=36.86°

S_{1}=P_{1} /pf_{1} =15/0.6=25 kVA

Q_{1}=P_{1} tan(\alpha_{1} )=15*tan(53.13)=19.99 ≅ 20kVAR

P_{2} =S_{2}*pf_{2} =10*0.8=8 kW

Q_{2} =P_{2} tan(\alpha_{2} )=8*tan(-36.86)=-5.99 ≅ -6 kVAR

The negative sign means that the load 2 is providing reactive power rather than consuming  

Then the combined load will be

P_{c} =P_{1} +P_{2} =15+8=23 kW

Q_{c} =Q_{1} +Q_{2} =20-6=14 kVAR

(b) Determine the power factor of the combined load and state whether lagging or leading.

S_{c} =P_{c} +jQ_{c} =23+14j

or in the polar form

S_{c} =26.92°

pf_{C}=cos(31.32) =0.85 lagging

The relationship between Apparent power S and Current I is

S=VI^{*}

Since there is conjugate of current I therefore, the angle will become negative and hence power factor will be lagging.

(c) Determine the magnitude of the line current from the source.

Current of the combined load can be found by

I_{C} =S_{C}/\sqrt{3}*V

I_{C} =26.92*10^3/\sqrt{3}*480=32.37 A

(d) Δ-connected capacitors are now installed in parallel with the combined load. What value of capacitive reactance is needed in each leg of the A to make the source power factor unity?Give your answer in Ω

Q_{C} =3*V^2/X_{C}

X_{C} =3*V^2/Q_{C}

X_{C} =3*(480)^2/14*10^3 Ω

(e) Compute the magnitude of the current in each capacitor and the line current from the source.

Current flowing in the capacitor is  

I_{cap} =V/X_{C} =480/49.37=9.72 A

Line current flowing from the source is

I_{line} =P_{C} /3*V=23*10^3/3*480=27.66 A

8 0
3 years ago
Steam flows steadily through an adiabatic turbine. The inlet conditions of the steam are 10 MPa, 450°C, and 80 m/s, and the exit
8090 [49]

Answer:

a) The change in Kinetic energy, KE = -1.95 kJ

b) Power output, W = 10221.72 kW

c) Turbine inlet area, A_1 = 0.0044 m^2

Explanation:

a) Change in Kinetic Energy

For an adiabatic steady state flow of steam:

KE = \frac{V_2^2 - V_1^2}{2} \\.........(1)

Where Inlet velocity,  V₁ = 80 m/s

Outlet velocity, V₂ = 50 m/s

Substitute these values into equation (1)

KE = \frac{50^2 - 80^2}{2} \\

KE = -1950 m²/s²

To convert this to kJ/kg, divide by 1000

KE = -1950/1000

KE = -1.95 kJ/kg

b) The power output, w

The equation below is used to represent a  steady state flow.

q - w = h_2 - h_1 + KE + g(z_2 - z_1)

For an adiabatic process, the rate of heat transfer, q = 0

z₂ = z₁

The equation thus reduces to :

w = h₁ - h₂ - KE...........(2)

Where Power output, W = \dot{m}w..........(3)

Mass flow rate, \dot{m} = 12 kg/s

To get the specific enthalpy at the inlet, h₁

At P₁ = 10 MPa, T₁ = 450°C,

h₁ = 3242.4 kJ/kg,

Specific volume, v₁ = 0.029782 m³/kg

At P₂ = 10 kPa, h_f = 191.81 kJ/kg, h_{fg} = 2392.1 kJ/kg, x₂ = 0.92

specific enthalpy at the outlet, h₂ = h_1 + x_2 h_{fg}

h₂ = 3242.4 + 0.92(2392.1)

h₂ = 2392.54 kJ/kg

Substitute these values into equation (2)

w = 3242.4 - 2392.54 - (-1.95)

w = 851.81 kJ/kg

To get the power output, put the value of w into equation (3)

W = 12 * 851.81

W = 10221.72 kW

c) The turbine inlet area

A_1V_1 = \dot{m}v_1\\\\A_1 * 80 = 12 * 0.029782\\\\80A_1 = 0.357\\\\A_1 = 0.357/80\\\\A_1 = 0.0044 m^2

3 0
3 years ago
Bore = 3"
Grace [21]
I need help my self lol XD
5 0
3 years ago
Read 2 more answers
The part of a circuit that carries the flow of electrons is referred to as the?
Oksanka [162]

Answer:

  Conductor

Explanation:

Current is carried by a conductor.

__

The purpose of a dielectric and/or insulator is to prevent current flow. An electrostatic field may set up the conditions for current flow, but it carries no current itself.

7 0
3 years ago
Which term represents an object that has a round or oval base and is connected at every point by lines at a corresponding point
raketka [301]

Answer:

it is a polyhedron

Explanation:

if I am wrong I am sorry

8 0
3 years ago
Read 2 more answers
Other questions:
  • To unload a bound stack of plywood from a truck, the driver first tilts the bed of the truck and then accelerates from rest. Kno
    7·1 answer
  • A stream of ethylene gas at 250°C and 3800 kPa expands isentropically in a turbine to 120 kPa. Determine the temperature of the
    5·1 answer
  • This problem demonstrates aliasing. Generate a 512-point waveform consisting of 2 sinusoids at 200 and 400-Hz. Assume a sampling
    8·1 answer
  • Make sure that the switch is on (if the drill is electric), the chuck key is not removed before you plug in the drill or turn it
    11·2 answers
  • The Greek alphabet has 24 distinct lowercase letters. How many bits are needed to be able to encode any single lowercase Greek l
    9·1 answer
  • Consider a circuit element, with terminals a and b, that has vab= -12V and iab= 3A. Over a period of 2 seconds, how much charge
    8·1 answer
  • John has an exhaust leak in his Acura Integra GS-R, What steps would he take to fix the leak in time for his inspection?
    8·1 answer
  • What's the best way to find the load capacity of a crane?
    6·1 answer
  • Read the passage.
    9·1 answer
  • Why not just put all the set up steps within each step? it is because we want to keep our code __ ? (3 letters)
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!