GPS AVR ATMega128 - pomiar odleglosci pomiedzy dwoma punktami

Czesc, Wzor jest w sumie prosty:

dist = Sqr(((dl2E - dl1E) * Cos(szer1N / 57.29746936) * 111120) ^ 2 + ((szer2N - szer1N) * 111120) ^ 2) / 1000

Ale kiedys pamietam widzialem chyba cos prostszego (dokladnosc byla taka se, ale jakas tam byla), no i niespecjalnie usmiecha mi sie robic #include <math.h> w programie :) Ktos za flaszke dobrego pifka jest w stanie sie podzielic czyms ciekawym w tym temacie ?

pozdrawiam

Reply to
pelos
Loading thread data ...
Reply to
Bogdan Gutknecht

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.