PDA

View Full Version : Inverse of COS



uuq1
- 1st June 2005, 12:46
Can anybody help me find ArcCos?

Regards,
uuq

Dwayne
- 1st June 2005, 15:37
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/showthread.php?t=718&highlight=Taylor

Dwayne

bot402
- 1st June 2005, 15:52
Alternatively, look at the PROTON+ compiler.

This does true floating point calculations including trigonometry.

uuq1
- 3rd June 2005, 10:20
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.

languer
- 3rd June 2005, 20:44
You may also want to look here:
http://www.emesys.com/BS2math3.htm

uuq1
- 6th June 2005, 04:17
Thanks languer for the article. I think it will help.