View Single Post
  #8   Spotlight this post!  
Unread 31-10-2001, 16:40
Anthony X.'s Avatar
Anthony X. Anthony X. is offline
Registered User
#0188 (Blizzard)
 
Join Date: Aug 2001
Location: Toronto, Canada
Posts: 39
Anthony X. is an unknown quantity at this point
Is there an ArcTan function in PBasic?

If there is, the problem of finding ArcSin and ArcCos can be calculated using ArcTan by using:

ArcSin(x) = ArcTan (x / sqrt(1 - sqr (X)))
ArcCos(x) = ArcTan (sqrt(1 - sqr (X)) / x)

Of course, this assumes that there is a sqrt(x) function in PBasic as well.

Anthony.