Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 6 of 6

in context: how to solute a geo-math equation

This is a discussion on in context: how to solute a geo-math equation within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hallo, - may be someone here is a little bit more fit in trigonometrical mathmatic and can give an advise... ...

  1. #1
    Th.M.Mädzulat is offline Junior Member Yellow Belt
    Join Date
    Dec 2005
    Posts
    17

    in context: how to solute a geo-math equation

    Hallo, - may be someone here is a little bit more fit in trigonometrical mathmatic and can give an advise...

    The following formular is given:
    -tan(a)*tan(l)*sin(o) = cos(r) + sin(r)*tan(a)*cos(o)
    a, l and o are known

    I cannot figure out how to solute this equation for r.
    Thanks to everyone who's answering
    martin

  2. #2
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    Hi everybody,

    Happy to visit the forum today.

    Here is the solution found by my friend Noel who works with me in the same service ( not in my Atlas Couscous where the math formula to find the best sauce is a secret and is more complicated )

    Code:
    cos(R)  = sin(R)*tang(A)*cos(O)+tang(A)*tang(L)*sin(O)
    cos²(R) = sin²(R)*tang²(A)*cos²(O)+tang²(A)*tang²(L)*sin²(O)
              + 2 sin(R)*tang²(A)*cos(O)*sin(O)*tang(L)
              
    0 =  sin²(R)*(1+tang²(A)*cos²(O)
         + 2sin(R)*tang²(A)*cos(O)*sin(O)*tang(L)
         - 1 + tang²(A)*tan²(L)*sin²(O)
    
    X = ( 2 tang²(A)*cos(O)*sin(O)*tang(L))²
        - 4(1+tang²(A)*cos²(O))(tang²(A)*tang²(L)*sin²(O)-1)
        
    sin(R) = ( - 2 ( tang²(A)*cos(O)*sin(O)*tang(L) (+ or -) squareroot(X) ) / 
             2(1+tang²(A)*cos²(O))
             
    R = arcsin(  of all this... )


    Hope this will help
    I did no test, but I think you will find easilly your algorithm
    (+ or - ) means that there 2 solutions , you have to test wich one is correct , try (+) and (-) .


    Mohamed
    www.atlascouscous.com

  3. #3
    Th.M.Mädzulat is offline Junior Member Yellow Belt
    Join Date
    Dec 2005
    Posts
    17
    whow...
    To quadrate the formula is something I surely would never had been done... I will test it tomorrow - it'll be a hard job because I really need to conceive it and that means to get some school stuff back in my mind...
    I'll contact you if I find a secret recipe for a sauce.
    Thank you very much
    martin

  4. #4
    Th.M.Mädzulat is offline Junior Member Yellow Belt
    Join Date
    Dec 2005
    Posts
    17
    Hi Mohamed,
    ...got it and it works!!!!!

    Thanks a lot for your or your friends effort!
    martin

  5. #5
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    Hi Martin,

    I used some trigonometrical tricks with Mappoint, but I don't understand the use of your formula! Never mind, I will look at this another time!

    Ciao

  6. #6
    Th.M.Mädzulat is offline Junior Member Yellow Belt
    Join Date
    Dec 2005
    Posts
    17
    ...it is to draw nautical lines in the maps... for sailing away...
    see you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Disable Context menu
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 12
    Last Post: 12-23-2008, 01:05 PM
  2. By Right-click displaying context menu on map
    By Banu in forum MapPoint Desktop Discussion
    Replies: 19
    Last Post: 10-16-2007, 08:46 AM
  3. Custom context menu
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-10-2004, 11:15 PM
  4. VB.NET & overriding the map point context menu...
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-05-2002, 09:25 AM
  5. Is it possible to disabled the context menus that ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-19-2002, 05:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96