Origin Ver. and Service Release (Select Help-->About Origin): Operating System: hai,
my equation to be fitting is U(L,t)=T/T_m =1+2∑_(n=1)^∞▒〖〖(-1)〗^n 〖exp〗^((-t(〖nπ)〗^2)/t_c ) 〗 where u and t are my y and x values.
i tried to follow the procedure given in the posts https://my.originlab.com/forum/topic.asp?TOPIC_ID=31355 and my coding is const double n=100; // Beginning of editable part double bb = 0; for(int ii =1; ii<=n; ii++) { if(floor(n)==ii) bb = (1+2*(((-1)^n)*exp((-x/t)*(n*pi)^2)))+bb; else bb =(1+2*(((-1)^ii)*exp((-x/t)*(ii*pi)^2)))+bb; } y = bb;