|
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.
|