开发者

Acos & Asin substitute in Access

开发者 https://www.devze.com 2023-01-06 06:30 出处:网络
How can I calculate track & distance & wind vectorsin Access. 开发者_如何学运维Many thanksFortunately you have Arctan in Access, so you can use the fact that if

How can I calculate track & distance & wind vectors in Access. 开发者_如何学运维Many thanks


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消