Hello swarm intelligence,
I ran into an issue while trying to solve a problem.
Starting point is, that I have two 2D polar coordinate systems, that are offset to each other in x/y and are are turned by an unknown value and want to setup a calculation to find these three values.
Now I have two points of which I know the radial and and angular values for both systems. With these 4 values I did some trigonometry and came to the following equation, which I want to solve to x, with x being the angle difference between the two systems:
sin(a1 + x) s11)^2 + (s21 - cos(a1 + x) s11)^2 = (sin(a2 + x) s12)^2 + (s22 - cos(a2 + x) s12)^2
Which works with the command: solve (sin(a1 + x) s11)^2 + (s21 - cos(a1 + x) s11)^2 = (sin(a2 + x) s12)^2 + (s22 - cos(a2 + x) s12)^2 for x
But gives a multitude of solutions, since without limiting the values there are a multitude of solutions. Since I know that all my values are real numbers and my angles are within 0 to 2pi, I tried to limit the values through using assumptions. https://reference.wolfram.com/language/ref/Solve.html
But switching through multiple types of syntax found there, it screwed up the solving that the calculation wasn't recognized anymore.
tldr: how do I limit my variables and values to reduce the number of possible solutions?