Java - Trigonometry Hell -



Java - Trigonometry Hell -

i have task of beingness able programme class in java calculate bearing north point. objects known 2 positions, both have bearing north , distance 0. illustration - position 1 - 30 degrees , 10m, position 2 - 190 degrees , 50m. how calculate bearing if wanted travel position 1 position 2 instance or position 2 1? can calculate distance between 2 positions using cosine rule, have no thought how create class accuratly calculate bearing in different scenarios?

any help or advise appreciated.

from http://en.wikipedia.org/wiki/law_of_cosines#applications:

...once have 3 side lengths, give 3rd angle of triangle.

(the haversine formula navigation on sphere... think we're worried vectors on plane.)

java trigonometry

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -