Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- why minerr() cannot work ?

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
04:04 AM

10-15-2014
04:04 AM

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:

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
05:05 AM

10-15-2014
05:05 AM

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.

6 REPLIES 6

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
05:05 AM

10-15-2014
05:05 AM

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
05:33 AM

10-15-2014
05:33 AM

Re: why minerr() cannot work ?

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
09:04 AM

10-15-2014
09:04 AM

Re: why minerr() cannot work ?

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

See in attached file.

Viktor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
09:25 AM

10-15-2014
09:25 AM

Re: why minerr() cannot work ?

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
12:56 PM

10-15-2014
12:56 PM

Re: why minerr() cannot work ?

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-15-2014
03:05 PM

10-15-2014
03:05 PM

Re: why minerr() cannot work ?

Fan CG wrote:

As long as you learn from them