finding direction with co-ordinates

liunx

Guest
I am trying to figure out an equation. I'm sure if I had stayed awake in my later years of high school, I would probably know the answer to this.<br /><br />I am trying to calculate the direction from point A to point B on a plane of X and Y co-ordinates. The direction would have to be an integer representing a degree (0-359) where 0 is "East" and 90 is "North"<br /><br />I already figured out an equation to calculate the distance using triangles. I thought I might be able to do the same thing based on the angles of the hypotenuse, but it doesn't seem to be coming to me
</div>
 
Back
Top