Author |
Topic  |
|
bitalien
China
13 Posts |
Posted - 12/01/2014 : 10:34:21 PM
|
Hi,guys I needed an equation to NLFit the nucleation curve for my data, so I tried to use Origin C to define this equation. In this equation, x was independent variable and y was dependent variable, the two parameters were A and N, at the same time I defined 10 constants(a, b ,c, d, e, f, g, h, i, j)in order to simplify this equation. The equation was seen as follows, which was quite complex. When all of above things were done, I complied but found that it couldn't work. I will be very appreciate it that if anyone can help me out! Origin V 9.1, Windows 7.
|
|
bitalien
China
13 Posts |
Posted - 12/01/2014 : 10:40:01 PM
|





 |
 |
|
snowli
USA
1421 Posts |
Posted - 12/02/2014 : 12:32:25 PM
|
Hello,
I bet it's "Error, mismatching usage of parentheses".
In Origin 2015, we color matching parenthesis pairs with different colors so that it's much easier to define complicated formula with many parentheses, such as Fitting function builder, Set Column Values dialog and Function Plot dialog. See Graphing and Analysis part of http://originlab.com/2015 Also see Release Notes page: https://originlab.jira.com/wiki/x/UIDcAg
Two issues found in your formula: 1. ")" is missing after denominotor (A*x)^3+g*(A*x)^2+h*A*x. 2. There is a typo since you typed it as j*A*x.
Here should be the correct one: y=a*(b*x^(-0.5)+c*(1+d*exp(e*x^(-0.5)))*(1-exp(f*N*x^0.5*((A*x)^3+g*(A*x)^2+h*A*x+i)/((A*x)^3+g*(A*x)^2+h*A*x))/(b*x^(-0.5)+c*(1+d*exp(e*x^(-0.5))))))
Thanks, Snow OriginLab Corp. |
Edited by - snowli on 12/02/2014 12:36:39 PM |
 |
|
bitalien
China
13 Posts |
Posted - 12/03/2014 : 12:39:38 AM
|
Thanks for your help,Snow!
quote: Originally posted by snowli
Hello,
I bet it's "Error, mismatching usage of parentheses".
In Origin 2015, we color matching parenthesis pairs with different colors so that it's much easier to define complicated formula with many parentheses, such as Fitting function builder, Set Column Values dialog and Function Plot dialog. See Graphing and Analysis part of http://originlab.com/2015 Also see Release Notes page: https://originlab.jira.com/wiki/x/UIDcAg
Two issues found in your formula: 1. ")" is missing after denominotor (A*x)^3+g*(A*x)^2+h*A*x. 2. There is a typo since you typed it as j*A*x.
Here should be the correct one: y=a*(b*x^(-0.5)+c*(1+d*exp(e*x^(-0.5)))*(1-exp(f*N*x^0.5*((A*x)^3+g*(A*x)^2+h*A*x+i)/((A*x)^3+g*(A*x)^2+h*A*x))/(b*x^(-0.5)+c*(1+d*exp(e*x^(-0.5))))))
Thanks, Snow OriginLab Corp.
|
 |
|
|
Topic  |
|
|
|