Question: Given a straight road with n towns x1, x2, ... xn where x is the location of the city determine the best place for a

Given a straight road with n towns x1, x2, ... xn where x is the location of the city determine the best place for a shop.

Show how to determine the best location that minimizes the average distance between the shop and the towns.

Ex. A ... B ....... C .... D .. E (each . is 1 mile, find the best location for the shop so that the average distance between the towns is the smallest it can be).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!