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
Signal generator‘s internal impedance is purely resistive and has an open-circuit voltage of 3.5 V. When the generator is loaded
Bezzdna [24]

Answer:

r = 5.5 ohms

Explanation:

Given:-

- The open circuit voltage, Vo = 3.5 V

- The terminal voltage, Vt = 2.8 V

- The load, R = 22 ohms

- The internal resistance = r

Find:-

What is the generator’s output impedance (pure resistance)?

Solution:-

- We see that the source Voltage (Vo) is not entirely used for the attached load. Some of the source voltage is dropped within due to the source internal resistance or impedance.

- The terminal voltage (Vt) is the amount of Voltage drop across the load. The current drawn by the load I can be determined by Ohm's Law:

                            Vt = I*R

                            I = Vt / R

                            I = 2.8 / 22

                            I = 0.12727 Amps

- Since, the attached load (R) and the pure impedance (r) of the source are in series. The current  ( I ) is constant across both. The potential drop across the pure resistance (r) can be determined from Ohm's law:

                          Vo - Vt = I*r

                          r = ( Vo - Vt ) / I

                          r = ( 3.5 - 2.8 ) / 0.12727

                          r = 5.5 ohms

4 0
2 years ago
Define volume flow rate Q of air flowing in a duct of area A with average velocity V
Shalnov [3]

Answer:

The volume flow rate of air is Q=A\times V

Explanation:

A random duct is shown in the below attached figure

The volume flow rate is defined as the volume of fluid that passes a section in unit amount of time

Now by definition of velocity we can see that 'v' m/s means that in 1 second the flow occupies a length of 'v' meters

From the attached figure we can see that

The volume of the prism that the flow occupies in 1 second equals

Volume=Area\times V=A\times V

Hence the volume flow rate is Q=V\times A

3 0
2 years ago
Someone please please help me and explain!! I will give brainliest if right!!!
Mariulka [41]

R=10+15+30

55 is the answer to the question

5 0
2 years ago
Read 2 more answers
Calculate the tensile modulus of elasticity for a laminated composite consisting of 62 percent by volume of unidirectional carbo
kompoz [17]

Answer:

4.30 gp

Explanation:

''.''

5 0
2 years ago
The period of a pendulum T is assumed to depend only on the mass m, the length of the pendulum `, the acceleration due to gravit
zzz [600]

Answer:

The expression is shown in the explanation below:

Explanation:

Thinking process:

Let the time period of a simple pendulum be given by the expression:

T = \pi \sqrt{\frac{l}{g} }

Let the fundamental units be mass= M, time = t, length = L

Then the equation will be in the form

T = M^{a}l^{b}g^{c}

T = KM^{a}l^{b}g^{c}

where k is the constant of proportionality.

Now putting the dimensional formula:

T = KM^{a}L^{b}  [LT^{-} ^{2}]^{c}

M^{0}L^{0}T^{1} = KM^{a}L^{b+c}

Equating the powers gives:

a = 0

b + c = 0

2c = 1, c = -1/2

b = 1/2

so;

a = 0 , b = 1/2 , c = -1/2

Therefore:

T = KM^{0}l^{\frac{1}{2} } g^{\frac{1}{2} }

T = 2\pi \sqrt{\frac{l}{g} }

where k = 2\pi

8 0
3 years ago
Other questions:
  • 4. Three routes connect an origin and a destination with performance functions tl = 8 + 0.5x1, t2 = 1 + 2x2, and t3 = 3 + 0.75x3
    9·1 answer
  • I dont undertand this coding problem (Java):
    8·1 answer
  • A water jet jump involves a jet cross-sectional area of 0.01 m2 , and a jet velocity of 30 m/s. The jet is surrounded by entrain
    6·1 answer
  • Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Assuming the item is pai
    11·1 answer
  • Find the inductive reactance per mile of a single-phase overhead transmission line operating at 60 Hz, given the conductors to b
    6·1 answer
  • 1. Given: R= 25 , E = 100 V<br> Solve for I
    5·1 answer
  • Determine the resistance of 100m of copper cable whose cross-sectional area is 1.5mm2​
    6·1 answer
  • E) What are the major jobs of a nurse?<br><br>​
    14·1 answer
  • Write a paragraph on computer 473
    5·1 answer
  • Types of lubricants on the market include:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!