cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

why minerr() cannot work ?

FanCG
1-Visitor

why minerr() cannot work ?

I wanna estimate k0, n, and k in the ODEs, but cannot let Minerr() run in my calculating sheet.

but flexPDE can give a reasonable answer

see the attached picture:

question.png

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:FanCG)

Main error was that the interval for odesolve was just up to 1000, but one of the values in tau.exp which you then feed into the resulting functions was 1500.

Minor errors are a typo in the variable name tau.exp (extra period at the and of the name) and the definition of the range t which should be tau.

View solution in original post

6 REPLIES 6
Werner_E
25-Diamond I
(To:FanCG)

Main error was that the interval for odesolve was just up to 1000, but one of the values in tau.exp which you then feed into the resulting functions was 1500.

Minor errors are a typo in the variable name tau.exp (extra period at the and of the name) and the definition of the range t which should be tau.

FanCG
1-Visitor
(To:Werner_E)

Thank you very much, esp. my "minor" error you pointed out!!!!!!

ViktorKorobov
14-Alexandrite
(To:FanCG)

...And in Given/Odesolve block must be C.A(tau)^n but not C.A(tau)^2.

See in attached file.

Viktor

Viktor Korobov wrote:

...And in Given/Odesolve block must be C.A(tau)^n but not C.A(tau)^2.

See in attached file.

Well spotted! That was the reason for the unsatisfactoy fit.

Oh, yeah, I mis-typed the reaction order, that's why the optimized reaction order is equal to inintial guess, I made so many mistakes in the calculation

Fan CG wrote:

Oh, yeah, I mis-typed the reaction order, that's why the optimized reaction order is equal to inintial guess, I made so many mistakes in the calculation

As long as you learn from them

Announcements

Top Tags