ARCOS (inverse cosine)


Closed Thread
Results 1 to 4 of 4
  1. #1

    Default ARCOS (inverse cosine)

    Is it possible to calculate inverse Cosine in PBP?

  2. #2


    Did you find this post helpful? Yes | No

    Default

    any help would be appreciated?

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Calculate, no ...

    Use a retrieve table ( + linearizing ) YES ...

    depends MUCH on the looked for values range.

    But PBP doesn't include any "ARCCOS" function ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mjphillips1981 View Post
    Is it possible to calculate inverse Cosine in PBP?
    Yes, you could use the ATAN function by using a cordic (http://www.picbasic.co.uk/forum/showthread.php?t=10528) include file and calculate for the equation:

    (IF )

    You would need to do some manipulation for the math in a PIC chip though.

    -Walter
    Attached Images Attached Images   
    http://www.scalerobotics.com

Similar Threads

  1. Serial Communication Inverse mode
    By titanvision in forum Serial
    Replies: 4
    Last Post: - 27th October 2008, 02:53
  2. Wrong values with COSINE!
    By Eng4444 in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 8th May 2006, 16:59
  3. How to do ARCTAN (inverse tan) in PICBasic Pro
    By guanerrr in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th April 2006, 17:27
  4. Inverse of COS
    By uuq1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th June 2005, 04:17
  5. Working with Cosine
    By Ed Cannady in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th May 2005, 13:25

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts