Announcement

Collapse
No announcement yet.

ASIN() function??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    Eric,

    Don't ask me, I'm just the programmer I took the economy route, and never used these functions.

    Vladimir,

    Thanks a million - your function works like a charm!! Using a scientific calculator as the definition of correct your function doesn't differ until the 5th to 7th decimal (depending on input value). This is well within what we can tolerate, and so our problem is solved. Thanks again!

    Ketil

    ------------------

    Leave a comment:


  • Vladimir Shulakov
    replied
    If I am not mistaken - that
    PBDLL have ATN(), and

    ASIN(L)=ATN(L/(SQR(1-L^2))

    V.Shulakov



    ------------------

    Leave a comment:


  • Eric Pearson
    replied
    Disclaimer: My last Trig class was during the Cretacious Period (which was right after Third Period Study Hall) so I may be off-base here...

    I wasn't aware that an ArcSin function was possible. Since each SIN value between 0 and 1 corresponds to two different angles, which one would it return? For example, the SINs of 45 and 135 are both (approx.) 0.71.

    I believe that you would need both a SIN and a COS value (or at least a quadrant) to obtain an angle.

    -- Eric

    ------------------
    Perfect Sync: Perfect Sync Development Tools
    Email: mailto:[email protected][email protected]</A>



    [This message has been edited by Eric Pearson (edited May 11, 2000).]

    Leave a comment:


  • Guest's Avatar
    Guest started a topic ASIN() function??

    ASIN() function??

    I need to calculate the arc sine of a value, but PowerBASIC doesn't have an ASIN() function for this purpose.

    Is there any way I can "emulate" ASIN() using the functions that are present?

    Alternatively, does anyone know of a math library that has an ASIN() function?

    Thanks,
    Ketil
Working...
X