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
#198. Moment of inertia about center of a segmented bar A bar of width is formed of three uniform segments with lengths and area
zaharov [31]

Complete Complete

The complete question is shown on the first uploaded image

Answer:

The moment of inertia of the bar about the center of mass is

I_r = 1888.80  \  kg m^2

Explanation:

The free body diagram  is shown on the second uploaded image

From the diagram we see that is

The mass of each segment is

          m_1 = \rho_1  l_1 w = 1 * 6 * 2 = 12

          m_1 = \rho_2  l_2 w = 8 * 6 * 2 = 96

          m_1 = \rho_2  l_2 w = 5 * 5 * 2 = 50

The distance from the origin to the center of the segments i.e the center of masses for the individual segments

   x_2 = \frac{6}{2} + 6 = 9 m

   x_3 = \frac{4}{2} + 12 = 14 m

           

The  resultant center of mass is mathematically evaluated as

              x_r = \frac{m_1 * x_1 + m_2 *x_2 + m_3 *x_3}{m_1 + m_2 + m_3}    

        =   \frac{12 * 3 + 96 *9 + 50 *14}{12+ 96 + 50}

                      x_r = 10.13m        

The moment of Inertia of each segment of the bar is mathematically evaluated

             I_1 =\frac{m_1}{12}(l_1^2 + w^2) =    \frac{12}{12}(1^2 + 2^2)        

                   I_1 = 4 \ kgm^2

             I_2 =\frac{m_2}{12}(l_2^2 + w^2)  =    \frac{96}{12}(6^2 + 2^2)

                 I_2 = 320 \ kgm^2

             I_3 =\frac{m_3}{12}(l_3^2 + w^2)  =    \frac{50}{12}(4^2 + 2^2)        

                   I_2 = 83.334 \ kgm^2        

According to parallel axis theorem the moment of inertia about the center (x_r) is mathematically evaluated as

           I_r = (I_1 + m_1 r_1^2) + (I_2 + m_2 r_2^2) +(I_3 + m_3 r_3^2)

   I_r = (I_1 + m_1 |x_r - x_1|^2) + (I_2 + m_2 |x_r - x_2|^2) +(I_3 + m_3 |x_r - x_3|^2)

   I_r = (4  + 12 |10.13 - 3|^2) + (320 + 96 |10.13 - 9|^2) +(83.334 + 50 |10.13 - 14|^2)        

      I_r = 1888.80  \  kg m^2

6 0
3 years ago
The smallest crystal lattice defects is a) cracks b) point defects c) planar defects d) dislocations.
ss7ja [257]

Answer:b) Point defects

Explanation: The point defect is the tiny defect that occurs in the lattice. It usually occurs when there is the atoms or ions missing in the lattice structure that creates a irregularity in the structure.The name point defect itself describes that the occurring defect is having a size of point thus is the smallest defect. Therefore option(b) is the correct option.

8 0
3 years ago
The water behind Hoover Dam is 206m higher than the Colorado river below it. At what rate must water pass through the hydraulic
Leokris [45]

Answer:

m' = 4948.38 kg/s

Explanation:

For a case of 100% efficiency, the power produced must be equal to the rate of potential energy conversion

GIVEN THAT

Power = 100 MW

rate of Potential energy = (m')*g*h

100*10^6 = (m')*9.81*206

m' = 4948.38 kg/s

3 0
3 years ago
Read 2 more answers
The type of current that flows from the electrode across the arc to the work is called what?
Scrat [10]

Answer:

Direct current.

Explanation:

5 0
3 years ago
1. You should
vladimir2022 [97]
D
Step by step explanation
3 0
3 years ago
Read 2 more answers
Other questions:
  • Technician A says that when the malfunction indicator light or service engine light is on you should retrieve the diagnostic tro
    10·1 answer
  • A closed system contains propane at 35°c. It produces 35 kW of work while absorbing 35 kW of heat. What is process? the temperat
    7·1 answer
  • Estimate the theoretical fracture strength (in MPa) of a brittle material if it is known that fracture occurs by the propagation
    8·1 answer
  • A seawall with an opening is used to dampen the tidal influence in a coastal area (and limit erosion). The seawall is 2.5 m long
    11·1 answer
  • Consider two water tanks filled with water. The first tank is 8 m high and is stationary, while the second tank is 2 m high and
    12·2 answers
  • The minimum fresh air requirement of a residential building is specified to be 0.35 air changes per hour (ASHRAE, Standard 62, 1
    10·1 answer
  • You are given a C program "q2.c" as below. This program is used to calculate the average word length for a sentence (a string in
    5·1 answer
  • A civil engineer is analyzing the compressive strength of concrete. The compressive strength is approximately normal distributed
    7·1 answer
  • Give six reasons why farmers cultivate on small land​
    5·1 answer
  • Hello, so I have a watch and I don't know where the plugin for the charger is, or what brand it is. Please do help and please DO
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!