View Full Version : ARCOS (inverse cosine)
mjphillips1981
- 24th September 2009, 18:38
Is it possible to calculate inverse Cosine in PBP?
mjphillips1981
- 5th October 2009, 14:55
any help would be appreciated?
Acetronics2
- 5th October 2009, 15:01
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
ScaleRobotics
- 8th October 2009, 16:53
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:
http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3712&stc=1&d=1255016566 (IF http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3713&stc=1&d=1255016808 )
You would need to do some manipulation for the math in a PIC chip though.
-Walter
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.