locked
ArcSin ArcCos ArcTan RRS feed

  • Question

  • Are these in the works for the next build? I have a piece of software that I am working on that relies on them but there is no way that I can think of to easily get arcsin. Thanks. 

    Elliot Block
    Tuesday, June 30, 2009 5:52 AM

Answers

All replies

  • You can find algorithm there: http://www.mathonweb.com/help_ebook/html/algorithms.htm
    Grzesio
    Tuesday, June 30, 2009 6:39 AM
  • This subject has already been discussed here : http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/b2eb4155-ccc5-4cdc-b84b-3d920d6e481e
    Currently, you either can use the Taylor Series to "emulate" an ArcTan function or use an extension.

    For usual need, I recommend you to use Taylor Series (see link given by Grzegorz)
    Fremy - Developer in VB.NET, C# and JScript ... - Feel free to try my extension
    • Proposed as answer by FremyCompany [MSFT] Tuesday, June 30, 2009 6:54 AM
    • Marked as answer by litdev Thursday, July 16, 2009 9:39 PM
    Tuesday, June 30, 2009 6:54 AM
  • Since a Taylor series is a calculus topic, I seriously suggest adding these basic functions to the compiler.  You might want an arctan2 function also that does a 4 quadrant, great for determining heading to something.
    Tuesday, June 30, 2009 5:19 PM
  • Since a Taylor series is a calculus topic, I seriously suggest adding these basic functions to the compiler.  You might want an arctan2 function also that does a 4 quadrant, great for determining heading to something.
    Fully agree. I added those in my extension, for my own usage, but that should be included in SmallBasic...
    Fremy - Developer in VB.NET, C# and JScript ... - Feel free to try my extension
    Tuesday, June 30, 2009 5:21 PM
  • thanks! that's a great site...
    Friday, January 28, 2011 5:41 PM