I am trying to write code for a computer simulator. I need to simulate a complex mechanism where each link has a known length and the ends of the links are connected to a triangle. I would like help with finding an equation to tell me the location of the triangle.
Above is a picture of a machine. There are three points B, C, G, whose locations are known. There are three links 3, 4, 5, whose lengths are known. Finally, there is a triangular link with dimensions that are all known but whose location is not. Each of the links 3, 4, 5 connect to the triangular link 2.
Mathematically, the centers B, C, G, are knows as are the radii 3, 4, 5, but I am stumped at how to find the locations of D, E, and F, given the distance between each of them. I don't even have a starting point for the math because the circle-circle or circle-line intersection equations that are used to simulate simpler connections do not seem useful here.
I must add that I am a programmer and not a mathematician. I may have to ask for help turning an equation into code.