Skip to main content
gamedev.net
🔒 Locked

tangent function

Started by JasonL220 Sep 14, 2006 at 1:07 PM 1 replies 800+ views
Original Post
JasonL220
JasonL220
i have the formulea sine and cosine i know that sinx/cosx = tanx so i divided the 2 formuleas and got this: tan x = E (x / (2n + 1)) E is sum of n = 0 to n = infinity this that correct, if not could someone show me what it should be. thanks jason
bakery2k1
bakery2k1
Remember that
a + b    a   b----- != - + -c + d    c   d

Thus, you cannot divide these expressions termwise.

The correct Taylor Series for tan is shown here.
JasonL220
JasonL220
thank for that, didn't think that it was right but couldn't see why

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.