Given a point in plane as (x,y) get the trigonometric angle for it (that being in range [0,360) or [180,-180)). Can someone give me a hint please ?
Asked
Active
Viewed 27 times
2 Answers
1
Hint: $$\tan \theta = \dfrac{\text{opposite}}{\text{adjacent}} = \dfrac yx\;\implies \;\theta = \;\ldots\;?$$
amWhy
- 209,954
0
Hint:
Draw the big circle passing through the point (x,y). Measure the radius. Say the scale 1unit to be equal to radius of circle. If you convert your scale to units, then
$$x=\cos\theta, y=\sin\theta$$
Sensebe
- 915