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(
)- time algorithm.
When a psychologist simply records the relationship between two variables without manipulating them, it is called a correlational study.
The observed relationship does not by itself reveal which variable causes the other. This is the directionally problem. Also, the relationship may be due to a third variable controlling both of the observed variables.
Answer:
mechanical engineer is the best answer
Answer:
Explanation:
Since there are six points, the minimum distance from all points would be the centroid of polygon formed by A,B,C,D,E,F
To find the coordinates of centroid of a polygon we use the following formula. Let A be area of the polygon.
where i=1 to N-1 and N=6
A area of the polygon can be found by the following formula
where i=1 to N-1
![A=\frac{1}{2}[ (x_{1} y_{2} -x_{2} y_{1})+ (x_{2} y_{3} -x_{3} y_{2})+(x_{3} y_{4} -x_{4} y_{3})+(x_{4} y_{5} -x_{5} y_{4})+(x_{5} y_{6} -x_{6} y_{5})]](https://tex.z-dn.net/?f=A%3D%5Cfrac%7B1%7D%7B2%7D%5B%20%28x_%7B1%7D%20%20y_%7B2%7D%20-x_%7B2%7D%20%20y_%7B1%7D%29%2B%20%28x_%7B2%7D%20%20y_%7B3%7D%20-x_%7B3%7D%20%20y_%7B2%7D%29%2B%28x_%7B3%7D%20%20y_%7B4%7D%20-x_%7B4%7D%20%20y_%7B3%7D%29%2B%28x_%7B4%7D%20%20y_%7B5%7D%20-x_%7B5%7D%20%20y_%7B4%7D%29%2B%28x_%7B5%7D%20%20y_%7B6%7D%20-x_%7B6%7D%20%20y_%7B5%7D%29%5D)
A=0.5[(20×25 -25×15) +(25×32 -13×25)+(13×21 -4×32)+(4×8 -18×21)+(18×14 -25×8)
A=225.5 miles²
Now putting the value of area in Cx and Cy
![C_{x} =\frac{1}{6A}[ [(x_{1}+x_{2})(x_{1} y_{2} -x_{2} y_{1})]+ [(x_{2}+x_{3})(x_{2} y_{3} -x_{3} y_{2})]+[(x_{3}+x_{4})(x_{3} y_{4} -x_{4} y_{3})]+[(x_{4}+x_{5})(x_{4} y_{5} -x_{5} y_{4})]+[(x_{5}+x_{6})(x_{5} y_{6} -x_{6} y_{5})]]](https://tex.z-dn.net/?f=C_%7Bx%7D%20%3D%5Cfrac%7B1%7D%7B6A%7D%5B%20%5B%28x_%7B1%7D%2Bx_%7B2%7D%29%28x_%7B1%7D%20%20y_%7B2%7D%20-x_%7B2%7D%20%20y_%7B1%7D%29%5D%2B%20%5B%28x_%7B2%7D%2Bx_%7B3%7D%29%28x_%7B2%7D%20%20y_%7B3%7D%20-x_%7B3%7D%20%20y_%7B2%7D%29%5D%2B%5B%28x_%7B3%7D%2Bx_%7B4%7D%29%28x_%7B3%7D%20%20y_%7B4%7D%20-x_%7B4%7D%20%20y_%7B3%7D%29%5D%2B%5B%28x_%7B4%7D%2Bx_%7B5%7D%29%28x_%7B4%7D%20%20y_%7B5%7D%20-x_%7B5%7D%20%20y_%7B4%7D%29%5D%2B%5B%28x_%7B5%7D%2Bx_%7B6%7D%29%28x_%7B5%7D%20%20y_%7B6%7D%20-x_%7B6%7D%20%20y_%7B5%7D%29%5D%5D)
putting the values of x's and y's you will get
![C_{x} =15.36](https://tex.z-dn.net/?f=C_%7Bx%7D%20%3D15.36)
For Cy
![C_{y} =\frac{1}{6A}[ [(y_{1}+y_{2})(x_{1} y_{2} -x_{2} y_{1})]+ [(y_{2}+y_{3})(x_{2} y_{3} -x_{3} y_{2})]+[(y_{3}+y_{4})(x_{3} y_{4} -x_{4} y_{3})]+[(y_{4}+y_{5})(x_{4} y_{5} -x_{5} y_{4})]+[(y_{5}+y_{6})(x_{5} y_{6} -x_{6} y_{5})]]](https://tex.z-dn.net/?f=C_%7By%7D%20%3D%5Cfrac%7B1%7D%7B6A%7D%5B%20%5B%28y_%7B1%7D%2By_%7B2%7D%29%28x_%7B1%7D%20%20y_%7B2%7D%20-x_%7B2%7D%20%20y_%7B1%7D%29%5D%2B%20%5B%28y_%7B2%7D%2By_%7B3%7D%29%28x_%7B2%7D%20%20y_%7B3%7D%20-x_%7B3%7D%20%20y_%7B2%7D%29%5D%2B%5B%28y_%7B3%7D%2By_%7B4%7D%29%28x_%7B3%7D%20%20y_%7B4%7D%20-x_%7B4%7D%20%20y_%7B3%7D%29%5D%2B%5B%28y_%7B4%7D%2By_%7B5%7D%29%28x_%7B4%7D%20%20y_%7B5%7D%20-x_%7B5%7D%20%20y_%7B4%7D%29%5D%2B%5B%28y_%7B5%7D%2By_%7B6%7D%29%28x_%7B5%7D%20%20y_%7B6%7D%20-x_%7B6%7D%20%20y_%7B5%7D%29%5D%5D)
putting the values of x's and y's you will get
![C_{y} =22.55](https://tex.z-dn.net/?f=C_%7By%7D%20%3D22.55)
So coordinates for the fire station should be (15.36,22.55)