View Single Post
Old 10-26-2005, 07:02 PM   #1 (permalink)
josh2two
Registered User
 
Join Date: Sep 2005
Posts: 22
josh2two is on a distinguished road
Help with Sin in Taylor series!!!

I can't figure out how to do the sin of a function using taylor series in c++.

I figured out the cos

for( i = 2; i <= 2 * N; i+= 2)
{
term = -1 * term * x* x / (i* (i-1));
sum = sum + term;
}


PLEASE help me find the sin formula.
josh2two is offline   Reply With Quote