You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
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!
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.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: