Thread: math.h library
View Single Post
  #8   Spotlight this post!  
Unread 19-12-2003, 14:01
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: math.h library

Quote:
Originally Posted by seanwitte
You can use an approximation called the Maclaurin series for Sine, Cosine, and Tangent.
For us math geeks, there is also the most wonderful CORDIC algorithm. I suspect that it'll be faster than the Taylor series. I found a pretty good FAQ (with code) here.
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org