Let x1 < x2 < ... < xn be real numbers representing coordinates of n villages located along a straight road. A post off
ice needs to be built in one of these villages. a. Design an efficient algorithm to find the post-office location minimizing the average distance between the villages and the post office. b. Design an efficient algorithm to find the post-office location minimizing the maximum distance from a village to the post office.
1 answer:
You might be interested in
First you need to figure out the slope:
y2-y1/x2-x1=(1+5)/(-5-7)=-1/2
y+5=-1/2(x-7)
y=-1/2x-3/2
Answer:
Step-by-step explanation:
a) 2,3,4,5,6,7
b)4,6,7
Answer:
15%
Step-by-step explanation:
3/20x100=15
Answer:
4x+7 I believe but it could be wrong
The GCF is 36 since 36 can go into 144 (:
x