PREFACE: I want to preface this question by saying that yes, I know it's been asked a few times here, and yes, I know that although what I am asking is the opposite of the usual question, it is possible to invert the given solutions and apply them to my problem. The issue here being that I am VERY rusty with mathematics and I'm looking for help in figuring out an exact algorithm for the question.
THAT SAID, the question I've found asked a dozen times on this page is "Given a point in a circle, two points on the edge, and the angles to those two points, find the distance to them". See here for an example: Find coordinates for points on circle given R, 2 Points, and angle or 2 points and center?
QUESTION: My question is almost the exact opposite: Given a point X in the circle, three points A, B and C on the circle and their coordinates, and the distance between X and A, B and C, find the coordinates of point X. For example:
CONCRETE EXAMPLE: Given a circle of Radius R = 500, points A = 0;0, B = 250;-250, C = 0;-500, and the distances of the edges XA = 414, XB = 334, XC = 87, find the coordinates of point X. Edit.: To clarify, point A is the center of the circle, not a point on its edge.
ASSUMPTIONS: I assume that the solution to this problem would involve the calculation of the angles for XA, XB and XC and then the application of the formula for finding the coords of point X. I will, however, have to execute this same calculation several times over the course of my work, and would like to code a computer program to resolve it for me. I could not, unfortunately, find one on the internet, though I did find this, which is pretty close: http://www.cncexpo.com/CircleCoord.aspx
Is there anyone that could point me to, or help me reach, an algorithm for this problem? I apologize for the messiness of the question, I am not used to formulating math questions. I will, of course, gladly make the program available upon completion so it can help others with the same problem in the future.