I have two vertices of a triangle and the lengths are unequal. How to find the third vertex?
As the lengths are unequal, I dont know, how to proceed this. Whereas when the lengths are equal, I have solved the same when the lengths are equal for isosceles triangle.
I have come across https://github.com/lemmingapex/trilateration i.e., nD trilateration using non linear least square, Whereas I dont know how to proceed this?
You need to solve the set of equations: $$ (x-x_2)^2+(y-y_2)^2 = d_1^2$$ $$ (x-x_3)^2+(y-y_3)^2 = d_3^2$$ By subtracting one from another you get $$ 2(x_3-x_2)x + 2(y_3-y_2)y + (x_2^2-x_3^2+y_2^2-y_3^2) = d_1^2 - d_3^2 $$ which allows you to find $y(x)$ as a linear function. Substitute it to one of the previous equations and you'll get a quadratic equation on $x$.