How can I calculate track & distance & wind vectors in Access. Many thanks
+1
A:
Fortunately you have Arctan in Access, so you can use the fact that if
x = sin(y)
then tan(y) = x/sqrt(1-x^2)
. In access:
Const PI As Double = 3.14159265359
aSin = Atn(val / Sqr(1 - val * val))
aCos = PI / 2 - aSin
Hope this helps.
Il-Bhima
2010-07-05 16:51:13