Go back to previous page
Forum URL: http://www.cut-the-knot.org/cgi-bin/dcforum/forumctk.cgi
Forum Name: College math
Topic ID: 596
Message ID: 0
#0, a = sin(f(x) * n); n = ???
Posted by oniwaka on Dec-13-06 at 03:16 PM
I'm being haunted by this problem! My only solution at this point is the dirtiest of programmers tricks(the lookup table), which is workable for the level of precision I need. However, I can't help but think there's a better solution.

a = sin(f(x) * n)
or
a = (exp(complex(0, f(x) * n)) - exp(-complex(0, f(x) * n))) / 2j

a and x are known

Thanks in advance for any help you might offer.