Weighted geometric median (Weber problem)

[color=#999999][color=#999999]This activity belongs to the [i]GeoGebra book[/i] [url=https://www.geogebra.org/m/dm9prd7h]Attractive projects.[/url][/color][/color][br][br][b]3D project[/b]: [i]create automatic dynamic demonstrations.[/i][br][br]If we associate a weight with each vertex, the weighted geometric median will be the point that minimizes the sum of the "moments" (weight products per distance) to the vertices. [br][br]Physically, it corresponds to the equilibrium point of a ring from which strings to each vertex with hunging weights at their ends. [br][br](Note that if the weight of one vertex is k times that of another, the ratio between the volumes of the spherical weights will be k, and therefore the ratio between their radii will be the cubic root of k.)
[color=#999999]Author of the construction of GeoGebra: [color=#999999][url=https://www.geogebra.org/u/rafael]Rafael Losada[/url][/color][/color]

Information: Weighted geometric median (Weber problem)