Please help with the formulas for weighted distance in excel.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Please help with the formulas for weighted distance in excel.
H2
A
1 Location
2 New York
3 Maryland
4 Virginia
5 SC
6 NC
7 TN
8 FL
9 Ohio
10 Wyoming
11 CA
12 Iowa
13 IL
14 Mass
15 NJ
16 PA
17
18
19 Coordinates location
20 Decision Variable
fix
B
lat
C
long
40.714 -74.006
39.026 -77.076
37.432 -78.657
32.216 -80.753
35.772 -78.639
35.961 -83.921
27.499 -82.575
39.136 -84.503
43.623 -110.626
34.019 -118.491
41.699 -93.047
41.850 -87.650
42.934 -70.798
40.901 -74.514
39.952 -75.164
X
0
Y
0
D
#Relatives
43
8
2
1
12
1
6
6
1
10
7
4
1
10
2
E
F
G
Distance Weighted Distance
84.466222
86.393107
87.109297
86.941789
86.392561
91.30092
87.03328
93.12573
118.91618
123.27808
101.96327
97.128559
82.799384
85.001726
85.122172
H
Transcribed Image Text:H2 A 1 Location 2 New York 3 Maryland 4 Virginia 5 SC 6 NC 7 TN 8 FL 9 Ohio 10 Wyoming 11 CA 12 Iowa 13 IL 14 Mass 15 NJ 16 PA 17 18 19 Coordinates location 20 Decision Variable fix B lat C long 40.714 -74.006 39.026 -77.076 37.432 -78.657 32.216 -80.753 35.772 -78.639 35.961 -83.921 27.499 -82.575 39.136 -84.503 43.623 -110.626 34.019 -118.491 41.699 -93.047 41.850 -87.650 42.934 -70.798 40.901 -74.514 39.952 -75.164 X 0 Y 0 D #Relatives 43 8 2 1 12 1 6 6 1 10 7 4 1 10 2 E F G Distance Weighted Distance 84.466222 86.393107 87.109297 86.941789 86.392561 91.30092 87.03328 93.12573 118.91618 123.27808 101.96327 97.128559 82.799384 85.001726 85.122172 H
Wedding Planning. The distance between two cities in the United States can be approximated by
the following formula, where lat₁ and long, are the latitude and longitude of city 1 and lat2 and
long, are the latitude and longitude of city 2:
69 (lat₁ - lat₂)² + (long₁ − long₂)²
Ted's daughter is getting married, and he is inviting relatives from 15 different locations in the
United States. The file Wedding gives the longitude, latitude, and number of relatives in each of the
15 locations. Ted would like to find a wedding location that minimizes the demand-weighted
distance, where demand is the number of relatives at each location. Assuming that the wedding can
occur anywhere, find the latitude and longitude of the optimal location. (Hint: Notice that all
longitude values given for this problem are negative. Make sure that you do not check the option for
Make Unconstrained Variables Non-Negative in Solver.)
Transcribed Image Text:Wedding Planning. The distance between two cities in the United States can be approximated by the following formula, where lat₁ and long, are the latitude and longitude of city 1 and lat2 and long, are the latitude and longitude of city 2: 69 (lat₁ - lat₂)² + (long₁ − long₂)² Ted's daughter is getting married, and he is inviting relatives from 15 different locations in the United States. The file Wedding gives the longitude, latitude, and number of relatives in each of the 15 locations. Ted would like to find a wedding location that minimizes the demand-weighted distance, where demand is the number of relatives at each location. Assuming that the wedding can occur anywhere, find the latitude and longitude of the optimal location. (Hint: Notice that all longitude values given for this problem are negative. Make sure that you do not check the option for Make Unconstrained Variables Non-Negative in Solver.)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman