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
vovikov84 [41]
3 years ago
9

A group of n Ghostbusters is battling n ghosts. Each Ghostbuster carries a proton pack, which shoots a stream at a ghost, eradic

ating it. A stream goes in a straight line and terminates when it hits the ghost. The Ghostbusters decide upon the following strategy. They will pair off with the ghosts, forming n Ghostbuster-ghost pairs, and then simultaneously each Ghostbuster will shoot a stream at his chosen ghost. As we all know, it is very dangerous to let streams cross, and so the Ghostbusters must choose pairings for which no streams will cross. Assume that the position of each Ghostbuster and each ghost is a fixed point in the plane and that no three positions are collinear.Give an O(n 2 lg n)-time algorithm to pair Ghostbusters with ghosts in such a way that no streams cross. Provide a step by step algorithm for this question.
Engineering
1 answer:
babunello [35]3 years ago
4 0

Answer:

Using the above algorithm matches one pair of Ghostbuster and Ghost. On  each side of the line formed by the pairing, the number of Ghostbusters and Ghosts are  the same, so use the algorithm recursively on each side of the line to find pairings. The  worst case is when, after each iteration, one side of the line contains no Ghostbusters  or Ghosts. Then, we need n/2 total iterations to find pairings, giving us an P(n^{2} lg n)-  time algorithm.

You might be interested in
An air-conditioning system operating on the reversed Carnot cycle is required to transfer heat from a house at a rate of 755 kJ/
Lyrx [107]

Answer:

There is 0.466 KW required to operate this air-conditioning system

Explanation:

<u>Step 1:</u> Data given

Heat transfer rate of the house = Ql = 755 kJ/min

House temperature = Th = 24°C = 24 +273 = 297 Kelvin

Outdoor temperature = To = 35 °C = 35 + 273 = 308 Kelvin

<u>Step 2: </u> Calculate the coefficient of performance o reversed carnot air-conditioner working between the specified temperature limits.

COPr,c = 1 / ((To/Th) - 1)

COPr,c = 1 /(( 308/297) - 1)

COPr,c = 1/ 0.037

COPr,c = 27

<u>Step 3:</u> The power input cna be given as followed:

Wnet,in = Ql / COPr,max

Wnet, in = 755  / 27

Wnet,in = 27.963 kJ/min

Win = 27.963 * 1 KW/60kJ/min  = 0.466 KW

There is 0.466 KW required to operate this air-conditioning system

3 0
3 years ago
Por favor. alguien me comunique con fatimalisethmateual
lions [1.4K]
Wait why do you want me to
7 0
2 years ago
Air enters the 1 m² inlet of an aircraft engine at 100 kPa and 20° C with a velocity of 180 m/s. Determine: a) The volumetric fl
Shkiper50 [21]

Answer:

a) 180 m³/s

b) 213.4 kg/s

Explanation:

A_1 = 1 m²

P_1 = 100 kPa

V_1 = 180 m/s

Flow rate

Q=A_1V_1\\\Rightarrow Q=1\times 180\\\Rightarrow Q=180\ m^3/s

Volumetric flow rate = 180 m³/s

Mass flow rate

\dot{m}=\rho Q\\\Rightarrow \dot m=\frac{P_1}{RT} Q\\\Rightarrow \dot m=\frac{100000}{287\times 293.15}\times 180\\\Rightarrow \dotm=213.94\ kg/s

Mass flow rate = 213.4 kg/s

3 0
3 years ago
Consider the following ways of handling deadlock: (1) banker’s algorithm, (2) detect
Andrew [12]

Answer:

b

Explanation:

7 0
3 years ago
The diagram illustrates a method of producing plastics called​
hodyreva [135]

Answer:

polymerisation,

Explanation:

6 0
2 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
  • What are the four processes of the Carnot cycle? Sketch the Carnot cycle (a) on T-s (temperature - entropy) and P-V (pressure -
    7·1 answer
  • Air modeled as an ideal gas enters a well-insulated diffuser operating at steady state at 270 K with a velocity of 180 m/s and e
    11·1 answer
  • Lately, you have noticed some repetitive stress in your wrist. Which sign is most likely the cause of that stress and pain?
    7·1 answer
  • A series circuit has 4 identical lamps. The potential difference of the energy source is 60V. The total resistance of the lamps
    15·1 answer
  • Hello how are you all bye everyone have a great day ahead​
    8·2 answers
  • How to plot 0.45 gradation chart for sieve analysis ?
    12·1 answer
  • What is a splitter gearbox​
    15·1 answer
  • Birdie Par owns a company that makes golf gloves. She is thinking about introducing a new glove, which would require an addition
    13·1 answer
  • What are the reasons why fine grained of alkali igneous rocks can not be used in cement
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!