The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 summation equation in fitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kalyani27

India
1 Posts

Posted - 07/26/2018 :  02:58:37 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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;

dy_t= (((2*(-1)^n*(-(n*pi)^2*x)/t)*exp((-x/t)*(ii*pi)^2)))

by doubt is how to differentiate y wrt t, for large n values.

hope u guys can give some inputs

JacquelineHe

287 Posts

Posted - 07/26/2018 :  03:59:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

If I do not misunderstand your means,
u is the Dependent Variable of the function, and t is the Independent Variables of the function.

So I am not sure why you use x and y in your function. x and y are the parameters?

Could you plesae show us more detail about the funcion information?

Thanks
Jacqueline
Originlab
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000