Value of n is increased twice:


for (n=0; n<nmax; n++)
{

t = (mypow(-1,n))*(x)*(mypow(x,n))*(mypow(x,n))*(1/(dfactorial(2*n+1))); /* t is the nth tern in the sine...