-1
$\begingroup$

I am using the following formula to calculate the position of a point after rotation in my web application.

x' = xcos(0) - ysin(0) y' = xsin(0) + ycos(0) 

But where on a graph is zero degrees in Mathematics? In the following image can you tell me where zero degrees is(is it at Point A or Point B?) If it turns out that zero degrees is at point B then I will need to add 90 degrees to all my degree values in order to use the above function, correct?

enter image description here

  • 0
    Usually it's at $B$.2012-03-21
  • 0
    @Rasmus thanks, so if it was B I would need to add 90(or is it minus) degrees to my angle to use that math function? Ie, because my program considers zero degrees from point A, if I use the formula I will be really working out a rotation for 135 degrees which will be incorrect wont it?2012-03-21
  • 0
    In trigonometry the argument of every direct trigonometric function, cosine, sine, etc. is the angle measured counterclockwise from the positive x-axis. See [this Wikipedia section](http://en.wikipedia.org/wiki/Unit_circle#Trigonometric_functions_on_the_unit_circle). So it corresponds to B.2012-03-21
  • 0
    Is there a connection between this question and [this other question](http://math.stackexchange.com/questions/122850/where-is-zero-degrees-on-a-graph) posted a quarter of an hour earlier? It sure looks like it; even the $\theta$ written like a $0$ is the same.2012-03-21

1 Answers 1