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]
4 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]4 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
Block D of the mechanism is confined to move within the slot of member CB. Link AD is rotating at a constant rate of ωAD = 6 rad
svet-max [94.6K]

Answer:

1) 1.71 rad/s

2) -6.22 rad/s²

Explanation:

Choose point C to be the origin.

Using geometry, we can show that the coordinates of point A are:

(a cos 30°, a sin 30° − b)

Therefore, the coordinates of point D at time t are:

(a cos 30° − b sin(ωt), a sin 30° − b + b cos(ωt))

The angle formed by CB with the x-axis is therefore:

tan θ = (a sin 30° − b + b cos(ωt)) / (a cos 30° − b sin(ωt))

1) Taking the derivative with respect to time, we can find the angular velocity:

sec² θ dθ/dt = [(a cos 30° − b sin(ωt)) (-bω sin(ωt)) − (a sin 30° − b + b cos(ωt)) (-bω cos(ωt))] / (a cos 30° − b sin(ωt))²

sec² θ dθ/dt = -bω [(a cos 30° − b sin(ωt)) sin(ωt) − (a sin 30° − b + b cos(ωt)) cos(ωt)] / (a cos 30° − b sin(ωt))²

sec² θ dθ/dt = -bω [(a cos 30° sin(ωt) − b sin²(ωt)) − (a sin 30° cos(ωt) − b + b cos²(ωt))] / (a cos 30° − b sin(ωt))²

sec² θ dθ/dt = -bω (a cos 30° sin(ωt) − b sin²(ωt) − a sin 30° cos(ωt) + b − b cos²(ωt)) / (a cos 30° − b sin(ωt))²

sec² θ dθ/dt = -bω (a cos 30° sin(ωt) − a sin 30° cos(ωt)) / (a cos 30° − b sin(ωt))²

sec² θ dθ/dt = -abω (cos 30° sin(ωt) − sin 30° cos(ωt)) / (a cos 30° − b sin(ωt))²

We know at the moment shown, a = 350 mm, b = 200 mm, θ = 30°, ω = 6 rad/s, and t = 0 s.

sec² 30° dθ/dt = -(350) (200) (6) (cos 30° sin(0) − sin 30° cos(0)) / (350 cos 30° − 200 sin(0))²

sec² 30° dθ/dt = -(350) (200) (6) (-sin 30°) / (350 cos 30°)²

dθ/dt = (200) (6) (1/2) / 350

dθ/dt = 600 / 350

dθ/dt = 1.71 rad/s

2) Taking the second derivative of θ with respect to time, we can find the angular acceleration.

sec² θ d²θ/dt² + 2 sec² θ tan θ dθ/dt = -abω [(a cos 30° − b sin(ωt))² (ω cos 30° cos(ωt) + ω sin 30° sin(ωt)) − (cos 30° sin(ωt) − sin 30° cos(ωt)) (2 (a cos 30° − b sin(ωt)) (-bω cos(ωt)))] / (a cos 30° − b sin(ωt))⁴

At t = 0:

sec² θ d²θ/dt² + 2 sec² θ tan θ dθ/dt = -abω [(a cos 30°)² (ω cos 30°) − (0 − sin 30°) (2 (a cos 30°) (-bω))] / (a cos 30°)⁴

sec² θ d²θ/dt² + 2 sec² θ tan θ dθ/dt = -abω (a²ω cos³ 30° − 2abω sin 30° cos 30°) / (a⁴ cos⁴ 30°)

sec² θ d²θ/dt² + 2 sec² θ tan θ dθ/dt = -bω (aω cos² 30° − 2bω sin 30°) / (a² cos³ 30°)

d²θ/dt² + 2 tan θ dθ/dt = -bω² (a cos² 30° − b) / (a² cos 30°)

Plugging in values:

d²θ/dt² + 2 tan 30° dθ/dt = -(200) (6)² (350 cos² 30° − 200) / (350² cos 30°)

d²θ/dt² + 2 tan 30° dθ/dt = -7200 (262.5 − 200) / (350² cos 30°)

d²θ/dt² + 2 tan 30° (1.71) = -4.24

d²θ/dt² = -6.22 rad/s²

4 0
3 years ago
A rotor in a compressor stage has a mean blade radius of 0.285 m and an angular rotor velocity of 8500 RPMs. The static temperat
pantera1 [17]

Answer:

0,285 is the answer

Explanation:

6 0
3 years ago
A bakery wants to determine how many trays of doughnuts it should prepare each day. Demand is normal with a mean of 15 trays and
shutvik [7]

The number of trays that should be prepared if the owner wants a service level of at least 95% is; 7 trays

<h3>How to utilize z-score statistics?</h3>

We are given;

Mean; μ = 15

Standard Deviation; σ = 5

We are told that the distribution of demand score is a bell shaped distribution that is a normal distribution.

Formula for z-score is;

z = (x' - μ)/σ

We want to find the value of x such that the probability is 0.95;

P(X > x) = P(z > (x - 15)/5) = 0.95

⇒ 1 -  P(z ≤ (x - 15)/5) = 0.95

Thus;

P(z ≤ (x - 15)/5) = 1 - 0.95

P(z ≤ (x - 15)/5) = 0.05

The value of z from the z-table of 0.05 is -1.645

Thus;

(x - 15)/5 = -1.645

x ≈ 7

Complete Question is;

A bakery wants to determine how many trays of doughnuts it should prepare each day. Demand is normal with a mean of 15 trays and standard deviation of 5 trays. If the owner wants a service level of at least 95%, how many trays should he prepare (rounded to the nearest whole tray)? Assume doughnuts have no salvage value after the day is complete. 6 5 4 7 unable to determine with the above information.

Read more about Z-score at; brainly.com/question/25638875

#SPJ1

4 0
2 years ago
Consider a standard room thermostat. Determine the sensor, transducer, output, and control stages for this measurement system.
Anni [7]

Answer:

Sensor/transducer: bimetallic thermometer

Output: displacement of thermometer tip

Control Tstages: mercury contact switch (open:furnace off; closed:furnace on

Explanation:

for a standard room thermostat : This is the device that sets/determines the temperature of an enclosure.

Sensor/transducer: bimetallic thermometer: Bimetalic thermometer are used for measuring the temperature of the ambient air . bimetallic thermometer actually contains two metals. they undergo linear expansivity as the temperature of the room changes.in other words, they experience contraction and expansion with increase or decrease in temperature.The sensor is basically coupled with a transducer which turns the measured variable(Temperature)  into something else, such as a movement on a dial or an electrical signal

Output: displacement of thermometer tip

Controller: mercury contact switch (open:furnace off; closed:furnace on)

once the contact switch is open the furnace can go off. when the contact switch is closed, the furnace will come up.

3 0
3 years ago
Pls help me it’s due today
hichkok12 [17]

Answer:

C. 14.55

Explanation:

12 x 10 = 120

120 divded by 10 is 12

so now we do the left side

7 x 3 = 21 divded by 10 is 2

so now we have 14

and the remaning area is 0.55

so 14.55

6 0
3 years ago
Other questions:
  • R 134a enters a air to fluid heat exchanger at 700 kPa and 50 oC. Air is circulated into the heat exchanger to cool the R134a to
    6·1 answer
  • Required information NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part
    9·1 answer
  • How to solve this question
    11·1 answer
  • The spring has a stiffness k = 200 N&gt;m and an unstretched length of 0.5 m. If it is attached to the 3-kg smooth collar and th
    12·1 answer
  • In the designation of wrought Al alloys, eg. 3m, what does the first digit-3- refer to? A. The main alloying element B. Carbon p
    15·1 answer
  • How may a Professional Engineer provide notice of licensure to clients?
    9·1 answer
  • Which source would be the best to base a hypothesis upon
    9·1 answer
  • Draw a sinusoidal signal and illustrate how quantization and sampling is handled by
    8·1 answer
  • 10) A pressure sensor consisting of a diaphragm with strain gauges bonded to its surface has the following information in its sp
    12·1 answer
  • Discuss importance of good communication system​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!