answer.
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]
2 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]2 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
a. (24 points) Describe the microstructure present in a 10110 steel after each step in each of the following heat treatments (no
Mrac [35]

Answer:

Explanation:

Please check the below file for the attached file

6 0
2 years ago
A 10-m long steel linkage is to be designed so that it can transmit 2 kN of force without stretching more than 5 mm nor having a
Fed [463]

Answer:

<em>minimum required diameter of the steel linkage is 3.57 mm</em>

<em></em>

Explanation:

original length of linkage l = 10 m

force to be transmitted  f = 2 kN = 2000 N

extension e = 5 mm= 0.005 m

maximum stress σ = 200 N/mm^2 = 2*10^{8}  N/m^{2}

maximum stress allowed on material σ = force/area

imputing values,

200 = 2000/area

area = 2000/(2*10^{8}) = 10^{-5} m^2

recall that area = \pi d^{2} /4

10^{-5} = \frac{3.142*d^{2} }{4} = 0.7855d^{2}

d^{2} = \frac{10^{-5} }{0.7855} = 1.273*10^{-5}

d = \sqrt{1.273*10^{-5}  } = 3.57*10^{-3} m = 3.57 mm

<em>maximum diameter of  the steel linkage d = 3.57 mm</em>

4 0
2 years ago
A certain printer requires that all of the following conditions be satisfied before it will send a HIGH to la microprocessor ack
Elza [17]

Answer:

D) AND gate.

Explanation:

Given that:

A certain printer requires that all of the following conditions be satisfied before it will send a HIGH to la microprocessor acknowledging that it is ready to print

These conditions are:

1. The printer's electronic circuits must be energized.

2. Paper must be loaded and ready to advance.

3. The printer must be "on line" with the microprocessor.

Now; if these conditions are met  the logic gate produces a HIGH output indicating readiness to print.

The objective here is to determine the basic logic gate used in this circuit.

Now;

For NOR gate;

NOR gate gives HIGH only when all the inputs are low. but the question states it that "a HIGH is generated and applied to a 3-input logic gate". This already falsify NOR gate to be the right answer.

For NOT gate.

NOT gate operates with only one input and one output device but here; we are dealing with 3-input logic gate.

Similarly, OR gate gives output as a high if any one of the input signals is high but we need "a HIGH that is generated and applied to a 3-input logic gate".

Finally, AND gate output is HIGH only when all the input signal is HIGH and vice versa, i.e AND gate output is LOW only when all the input signal is LOW. So AND gate satisfies the given criteria that; all the three conditions must be true for the final signal to be HIGH.

3 0
2 years ago
A certain working substance receives 100 Btu reversibly as heat at a temperature of 1000℉ from an energy source at 3600°R. Refer
Valentin [98]

Answer:

Explanation:

t1 = 1000 F = 1460 R

t0 = 80 F = 540 R

T2 = 3600 R

The working substance has an available energy in reference to the 80F source of:

B1 = Q1 * (1 - T0 / T1)

B1 = 100 * (1 - 540 / 1460) = 63 BTU

The available energy of the heat from the heat wource at 3600 R is

B2 = Q1 * (1 - T0 / T2)

B2 = 100 * (1 - 540 / 3600) = 85 BTU

The reduction of available energy between the source and the 1460 R temperature is:

B3 = B2 - B1 = 85 - 63 = 22 BTU

6 0
2 years ago
. A belt drive is desired to couple the motor with a mixer for processing corn syrup. The 25-hp electric motor is rated at 950 r
forsale [732]

Answer:

Hello the table which is part of the question is missing and below are the table values

For a 5V belt the available diameters are : 5.5, 5.8, 5.9, 6.2, 6.3, 6.6, 12.5, 13.9, 15.5, 16.1, 18.5, 20.1

Answers:

belt size = 140 in with diameter of 20.1n

actual speed of belt = 288.49 in/s

actual center distance = 49.345 in

Explanation:

Given data :

Electric motor (driver sheave) speed (w1) = 950 rpm

Driven sheave speed (w2) = 250 rpm

pick D1 ( diameter of driver sheave)  = 5.8 in  ( from table )

To select an appropriate belt size we apply the equation for the velocity ratio to get the diameter first

VR = \frac{w1}{w2} = 950 / 250

also since the speed of  belt would be constant then ;

Vb = w1r1 = w2r2 ------- equation 1

r = d/2

substituting the value of r into equation 1

equation 2 becomes : \frac{w1}{w2} = \frac{d2}{d1}    = VR

Appropriate belt size ( d2) can be calculated as

d2 = \frac{w1d1}{w2} = \frac{950 * 5.8}{250} = 22.04

From the given table the appropriate belt size would be : 20.1 because it is the closest to the calculated value

next we have to determine the belt length /size

L = 2C + \frac{\pi }{2} ( d1+d2) + \frac{(d2-d1)^2}{4C}

inputting  all the values into the above equation including the value of C as calculated below

L ≈ 140 in

Calculating the center distance

we use this equation to get the ideal center distance

d2< C_{ideal} < 3( d1 +d2)

22.04 < c < 3 ( 5.8 + 20.1 )

22.04 < c < 77.7

the center distance is between 22.04 and 77.7  but taking an average value

ideal center distance would be ≈ 48 in

To calculate the actual center distance we use

C = \frac{B+\sqrt{B^2 - 32(d2-d1)^2} }{16} -------- equation 3

B = 4L -2\pi (d2 + d1 )

inputting all the values into (B)

B = 140(4) - 2\pi( 20.01 + 5.8 )

B ≈ 399.15 in

inputting all the values gotten Back to equation 3 to get the actual center distance

C = 49.345 in ( actual center distance )

Calculating the actual belt speed

w1 = 950 rpm = 99.48 rad/s

belt speed ( Vb) = w1r1 = w1 * \frac{d1}{2}

                           = 99.48 * 5.8 / 2 = 288.49 in/s

3 0
2 years ago
Other questions:
  • The top 3 most popular male names of 2017 are Oliver, Declan, and Henry according to babynames. Write a program that modifies th
    6·1 answer
  • Write a program that prompts the user to enter time in 12-hour notation. The program then outputs the time in 24-hour notation.
    6·1 answer
  • A negative pressure respirator brings fresh air to you through a hose<br>A) True<br>B)False​
    15·2 answers
  • Define initial set and final set. Briefly discuss one method used to determine them. The following laboratory tests are performe
    12·1 answer
  • In this module you learned about searching, sorting and algorithms in C++ and how to implement these elements in your C++ progra
    6·1 answer
  • Refrigerant-134a is compressed from 2 bar, saturated vapor, to 10 bar, 90o C in a compressor operating at steady state. The mass
    11·1 answer
  • The mechanical properties of some metals may be improved by incorporating fine particles of their oxides. If the moduli of elast
    12·1 answer
  • A glycerin pump is powered by a 5-kW electric motor. The pressure differential between the outlet and the inlet of the pump at f
    13·1 answer
  • Water at 70 kPa and 1008C is compressed isentropically in a closed system to 4 MPa. Determine the final temperature of the water
    6·1 answer
  • The typical Canadian worker is able to produce 100 board feet (a unit of measure) of lumber or 1000 light bulbs per year. The wo
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!