how to get the angle of arc ??

39 Views Asked by At

dart game board is divided into sectors by 30 degrees like pizza slice. the given is (x, y) coordinates, and I need to find where coordinates are lying on. how can I get the angle just with coordinates???? should I use trigonometric function??? how??? or can I transform the slope of line into the angle???

I searched through google, but cannot find the answer. Sorry for beginner's question.

1

There are 1 best solutions below

1
On BEST ANSWER

If you have a coordinate system with origin at the center of the circle, x-axis horizontal, and y-axis vertical, then $x= r cos(\theta)$ and $y= r sin(\theta)$ where r is the straight line distance from the center of the circle to the point (x, y) and $\theta$ is the angle the line from the center of the circle to the point makes with the horizontal.