Quote:
|
If you are using too much trig processing, then you could always use a lookup table.
|
Or you could use a polynomial approximation.
You can get a very good approximation to the sine curve from zero to pi/2 (which is all you need to construct the entire curve) with only three
multiplies and three
adds:
sin(x) ~ -.0017 + x*(1.027 - x*(.0729 + x*(.1116)))
~