Trig Ratios: What Function Does "sin(x)" Represent?

  • Thread starter Thread starter Gaz031
  • Start date Start date
Gaz031
Messages
51
Reaction score
0
I've been working with the trigonometric ratios for a long time now and was wondering, when you type sin(x), where x is any number and hit the equals sign, what function is actually being applied to the number?
 
Mathematics news on Phys.org
I guess that would be
\sin(x)=\sum_n \left( \frac{x^{4n+1}}{(4n+1)!}-\frac{x^{4n+3}}{(4n+3)!} \right)
to finite order, by first reducing to the fundamental [-\pi;\pi]
 
For a very long time, I thought that calculators (and computers) used the Taylor's series (what humanino gives is a variation on that) for ex, sin(x), cos(x), etc. but I have been informed that all modern calculations use the "CORDIC" algorithm.

Here is a link to an explanatory website:
http://www.dspguru.com/info/faqs/cordic.htm
 
Last edited by a moderator:
now, that's clever ! Anyway, I had doubt about the series. Thanks Hallsoflvt. This algorithm makes me thinf of FFT.
edit:
(well actually it is much simpler)
 
Interesting, thanks.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K