The set of math formulas to the right are the formulas that I used for calculating R^2 coordinates of food items, using the initial coordinates of the 24 cheapest food items as a base. The formula returns two possible values for (x,y) coordinates, since what this is really doing is creating circles, and attempting to decide where those circles intersect. As such, I've found it helpful to test at least 3 or 4 different distance sets. Then, by looking at all of the 2 pair result sets from each test, you can pick the sets that fit together, and make the most sense. I'm sure there is probably a better way to accomplish this, using more advanced math, but this method should get us close enough to the correct locations until more precise data is released at some point in the future. | |
Name | Creator | Date | Size | Description |
---|---|---|---|---|
coords.py | Guido | January 31, 2007 5:38 pm | 4475 | Python helper app |