I am studying computer science and I am working on a project for my next semester. I am stuck with a problem and I am not that good in math. Imagine I have an "arm" shape line where it has 5 nodes A, B, C, D and E. 4 of these nodes have an angle b, c, d, e where A, the 5th node, is the end of this arm.
How can I calculate x for this graph:
And how could I prevent this or solve this case where x did not change:
So generally, What is the math behind calculating the distance x of my end node A whatever the shape of my arm and however it moves?


ED,DC,CBandBAand assume they areL1,L2,L3,L4respectively. Do we still need the distance from theSurface ointto nodeE? – Kyle Khalaf Jul 02 '16 at 20:31surface pointlocation is known, what would be the equation to find x? – Kyle Khalaf Jul 03 '16 at 00:43