Trigonometry maths help

Associate
Joined
18 Oct 2002
Posts
858
Location
Cheshire
it's been 13 years since i last used trig (at school) and my memory isn't that wonderfull...

basically, i' trying to work out direction of travel when i know my curent long and lat position and i know the long and lat of where i'm trying to go...

the formula i found sofar is...

TAN a = longitude diference / latitude diference

so, for example... if the longitude diference is 50 and latitude diference is also 50 then the tangent of the angle is 1...

How do i then work out what the angle is from the tangent? :confused:

Thanks
 
Associate
OP
Joined
18 Oct 2002
Posts
858
Location
Cheshire
well done... i allready knew that... i'm after how to convert it... whats the formula to work it out...

I picked 50 by 50 coz it's odvious the answer should be 45...
 
Associate
Joined
17 Oct 2005
Posts
311
Sorry, but this isn't right.

To give an extreme example, what direction to you need to go from (90, 80) to (-90, 80)? The arctan(long_difference/lat_difference) implies you should go due East, but you should actually go due North.
 
Caporegime
Joined
28 Jun 2005
Posts
48,104
Location
On the hoods
Sorry, but this isn't right.

To give an extreme example, what direction to you need to go from (90, 80) to (-90, 80)? The arctan(long_difference/lat_difference) implies you should go due East, but you should actually go due North.

It's right if the angle in question is a bearing from North... I think.
 
Back
Top Bottom