Think the situation is as follows:
Points R and B are given, as well as angle θ. What is asked for is angle φ.
I place a coordinate system on the center of the circle and expressed R in polar coordinates
d = sqrt( (x_R-x_B)^2 + (y_R-y_B)^2 )
ψ = atan2( (y_R-y_B), (x_R-x_B) )
Then use the law of cosines to find l
l = sqrt(r^2 + d^2 -2*r*d*cos(θ))
Now to find φ and ψ we use the following two equations
d*cos(ψ) = r*cos(φ)-l*cos(θ-φ)
d*sin(ψ) = r*sin(φ)+l*sin(θ-φ)
This is where I am stuck now.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…