Welcome to MapForums!

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

## 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. 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.
martin

2. 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&#40;R&#41;  = sin&#40;R&#41;*tang&#40;A&#41;*cos&#40;O&#41;+tang&#40;A&#41;*tang&#40;L&#41;*sin&#40;O&#41;
cos˛&#40;R&#41; = sin˛&#40;R&#41;*tang˛&#40;A&#41;*cos˛&#40;O&#41;+tang˛&#40;A&#41;*tang˛&#40;L&#41;*sin˛&#40;O&#41;
+ 2 sin&#40;R&#41;*tang˛&#40;A&#41;*cos&#40;O&#41;*sin&#40;O&#41;*tang&#40;L&#41;

0 =  sin˛&#40;R&#41;*&#40;1+tang˛&#40;A&#41;*cos˛&#40;O&#41;
+ 2sin&#40;R&#41;*tang˛&#40;A&#41;*cos&#40;O&#41;*sin&#40;O&#41;*tang&#40;L&#41;
- 1 + tang˛&#40;A&#41;*tan˛&#40;L&#41;*sin˛&#40;O&#41;

X = &#40; 2 tang˛&#40;A&#41;*cos&#40;O&#41;*sin&#40;O&#41;*tang&#40;L&#41;&#41;˛
- 4&#40;1+tang˛&#40;A&#41;*cos˛&#40;O&#41;&#41;&#40;tang˛&#40;A&#41;*tang˛&#40;L&#41;*sin˛&#40;O&#41;-1&#41;

sin&#40;R&#41; = &#40; - 2 &#40; tang˛&#40;A&#41;*cos&#40;O&#41;*sin&#40;O&#41;*tang&#40;L&#41; &#40;+ or -&#41; squareroot&#40;X&#41; &#41; /
2&#40;1+tang˛&#40;A&#41;*cos˛&#40;O&#41;&#41;

R = arcsin&#40;  of all this... &#41;```

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. 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. Junior Member Yellow Belt
Join Date
Dec 2005
Posts
17
Hi Mohamed,
...got it and it works!!!!!

martin

5. 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. Junior Member Yellow Belt
Join Date
Dec 2005
Posts
17
...it is to draw nautical lines in the maps... for sailing away...
see you