Inverse of COS


Closed Thread
Results 1 to 6 of 6

Thread: Inverse of COS

  1. #1
    uuq1's Avatar
    uuq1 Guest

    Default Inverse of COS

    Can anybody help me find ArcCos?

    Regards,
    uuq

  2. #2
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello uug1,

    In order to do this, you must use the taylor series..

    Go to the bottom of this link... IT gives a LOT of info.

    http://www.picbasic.co.uk/forum/show...ghlight=Taylor

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  3. #3
    bot402's Avatar
    bot402 Guest


    Did you find this post helpful? Yes | No

    Default

    Alternatively, look at the PROTON+ compiler.

    This does true floating point calculations including trigonometry.

  4. #4
    uuq1's Avatar
    uuq1 Guest


    Did you find this post helpful? Yes | No

    Default InvCos

    I tried with Taylor series but no good.
    For angles less than 45 degrees, the code seem to work ok, but for larger angles the deviation is high.

    I have decided to use interpolation with select.

    Appreciate the help I got from this place.

  5. #5
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    You may also want to look here:
    http://www.emesys.com/BS2math3.htm

  6. #6
    uuq1's Avatar
    uuq1 Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks languer for the article. I think it will help.

Similar Threads

  1. Cordic trig assembly code for PIC18f
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 54
    Last Post: - 8th September 2015, 05:36
  2. ARCOS (inverse cosine)
    By mjphillips1981 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th October 2009, 16:53
  3. Serial Communication Inverse mode
    By titanvision in forum Serial
    Replies: 4
    Last Post: - 27th October 2008, 02:53
  4. Sin
    By AndyP in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th December 2007, 21:06
  5. 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

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