I need to find the coordinates of a point on a circle (point b in the picture) using the variables shown in the picture.
I know this is quite a maths related problem but i'm writing the program which this is going to be part of in python. I've tried the following code and had no luck, i've check the angle its passing though and that's correct. I've also tried the angle in radians and degrees both with no luck.
int_x = r * math.cos(angle)
int_y = r * math.sin(angle)
Please ask any questions about the problem
Thank you

Given the position of
anglein the diagram, if you were to draw a triangle that enclosesangle, you'd find thatint_xisoppositetheangleandint_yis adjacent, which means you have your equations flipped (i.e.int_x = r * sin.cos(angle))