So this question is very similar to this question.
I have given two points on a circle, and the angle at which the circle passes the first point.
My goal is to find the angle at which the circle passes the 2nd point.
In my sketch, we see that the line of the circle is leaving P1 at a 90-degree angle. I will use this for this example
Explanation: We know: P1 P2
From that we know:
x ($P2.x - P1.x$)
y ($P2.y - P1.y$)
d ($√(x² + y²)$)
what I want to get is $α$ so I guess I need the radius, but that's where my math ends.
Please tell me if you need any further information, or if I did not provide any info correctly Thanks
Edit: Okay so what i didnt say is that the Y Value of P1 is always 0, so a horizontal line can pass through P1 and M