| T O P I C    R E V I E W | 
               
              
                | hassan2020 | 
                Posted - 01/31/2009 : 11:54:11 AM  Hi I'm a biginner in origin. can you please to show me how to fit this function in originC y=sum(P1*exp(x)/k +P2*x**2)  with k=1,1000 thanks | 
               
              
                | 3   L A T E S T    R E P L I E S    (Newest First) | 
               
              
                | Deanna | 
                Posted - 02/02/2009 : 01:55:01 AM  With a little bit transformation, your equation can be rewritten as (please correct me if I am wrong):
  
  This is actually a simple equation. There are two parameters, P1 and P2. The equation written in Origin C can be: y=1000*P2*x^2+7.4854708605503*P1*exp(x)
  Here is an example of defining a fitting funciton with Origin C: User Defined Fitting Function using Origin C 
  If you are still not sure how to define your function, please contact us again.
 
  Deanna OriginLab Technical Services | 
               
              
                | hassan2020 | 
                Posted - 02/01/2009 : 06:15:54 AM  Hi y=sum(P1*exp(x)/k +P2*x^2) with k=1,1000 means  y=(P1*exp(x)/1 +P2*x^2)+(P1*exp(x)/2 +P2*x^2)+(P1*exp(x)/3+P2*x^2)+..
  thanks | 
               
              
                | Deanna | 
                Posted - 02/01/2009 : 04:12:31 AM  Hi Hassan,
  We are very happy to help you. But, please tell us what do you mean by "sum()"? In "P2*x**2", the "**" just means "*", right?
  Deanna OriginLab Technical Services | 
               
             
           | 
         
       
       
     |