1 Attachment(s)

how to translate point along given vector...

Attachment 29610

here's the situation...

the radius of the red circle is a given constant. point A can exist anywhere in any quadrant, but is always given... how would i calculate the coordinates of point B (the intersection of vector C with red circle).

thanks!

Re: how to translate point along given vector...

Quote:

Originally Posted by

**wilbsy** Attachment 29610
the radius of the red circle is a given constant. point A can exist anywhere in any quadrant, but is always given... how would i calculate the coordinates of point B (the intersection of vector C with red circle).

Suppose that the coordinates of $\displaystyle A: (x,y)$.

Suppose that $\displaystyle x\cdot y\ne 0 $ then

$\displaystyle \Theta=Arg(x,y) = \left\{ {\begin{array}{{lr}} {\arctan \left( {\frac{y}{x}} \right),}&{x > 0} \\ {\arctan \left( {\frac{y}{x}} \right) + \pi ,}&{x < 0\;\& \;y > 0} \\ {\arctan \left( {\frac{y}{x}} \right) - \pi ,}&{x < 0\;\& \;y < 0} \end{array}} \right. $

Then $\displaystyle \Theta$ is the measure of the angle the vector $\displaystyle \vec{C}$ makes with the positive $\displaystyle x\text{-axis}~.$

Now the coordinates of $\displaystyle B: (r\cos(\Theta),r\sin(\Theta))$ where $\displaystyle r$ is the radius of the circle.