"Simmonds, Ashley (PTB)" wrote:
> so does anyone know how to do the arcsine calculation in Access/VB?  it's
> probably really easy, but i'm no trig guru, i really struggled to get this
> far.

It's really easy. Do you have atan2()? If so, use 
asin(x)=atan2(x,sqrt(1-x^2))}
  asin returns a value in the range -pi/2 <= asin <= pi/2

If all you have is atan() then use:
asin(x)=2*atan(x/(1+sqrt(1-x*x)))   

Read the details at http://williams.best.vwh.net/avform.htm#Math 


-- 
- Bill Thoen
------------------------------------------------------------ 
GISnet, 1401 Walnut St., Suite C, Boulder, CO  80302
tel: 303-786-9961, fax: 303-443-4856
mailto:[EMAIL PROTECTED], http://www.gisnet.com
------------------------------------------------------------

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 2356

Reply via email to