Help finding a coordinate using distance and angle

mxdatamike

New member
Joined
May 4, 2011
Messages
1
Hi guys,

I am currently trying to determine a co-ordinate, where I have a start co-ordinate and a distance (from the start co-ord) and the angle.

Note, using a 2D Cartesian coordinate system.

I think the answer is something like:

x2 = x1 + cos(angle) * Distance
y2 = y1 + sin(angle) * Distance

However, I am not getting the right answer. Any help would be greatly appreciated!

thanks Mike
 
mxdatamike said:
Hi guys,

I am currently trying to determine a co-ordinate, where I have a start co-ordinate and a distance (from the start co-ord) and the angle.

Note, using a 2D Cartesian coordinate system.

I think the answer is something like:

x2 = x1 + cos(angle) * Distance
y2 = y1 + sin(angle) * Distance

However, I am not getting the right answer. Any help would be greatly appreciated!

thanks Mike


You have not told us What the question was!

How do you know that you are not getting the right answer.
 
Top