Origin Ver. and Service Release (Select Help-->About Origin): 9.1 Operating System: win 7 32 Hello could anyone help me please modifying the built-in function in originlab:
Several points: 1. Math operators can never be implied, so A_1(1 ... must be A_1*(1 ... 2. We only support parentheses so replace { and } 3. We do not recommend using "_" in variable names 4. There is no "e" defined in Origin
Here is the equation: y=y0+A1*(1-exp(-x/t1))+A2*(1-exp(-x/t2))
Also, derived parameters cannot be defined using other derived parameters. This just requires some substitution: Kfast = 1/t1; Kslow = 1/t2; Hf = t1*ln(2); Hs = t2*ln(2);
Finally, you cannot use derived parameters as constraints so you cannot say Kfast > Kslow but you could say t2>t1
Your function is over-parameterized (two of its terms are essentially identical) and as such, which term is 'fast' and which term is 'slow' is completely arbitrary, or forced to be one or the other by some constraint. While the constraint of t2>t1 will ensure the 'correctness' of fast vs slow, it is unlikely to differentiate the two terms sufficiently to produce the best fit. You will probably need to provide some additional bounds on your parameters or even fix some (at least during the fit).