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
- :
- ODE solve help : predefine a function

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-27-2014
09:16 AM

10-27-2014
09:16 AM

ODE solve help : predefine a function

Hi,

It would be super great to have any suggestions for the mathcad file I have attached.. Please check the file, I have described it there..

Thanks!

Labels:

17 REPLIES 17

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

10-27-2014
11:40 AM

10-27-2014
11:40 AM

Re: ODE solve help : predefine a function

Not sure if I understand correctly what you want to achieve,

I wonder why you would want to introduce a third unknown function in the solve block which is dependent in a simple way on the function N.p which you are solving for.

Are you looking for something like this:

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

10-27-2014
12:18 PM

10-27-2014
12:18 PM

Re: ODE solve help : predefine a function

How about this??

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

10-27-2014
12:29 PM

10-27-2014
12:29 PM

Re: ODE solve help : predefine a function

I guess the initial value of M.p should not be 1 but 30 ((1-delta2)*P.N.)

But I wonder why the result is so much different!?

EDIT: I felt into the same trapdoor. It should rather be like this:

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

10-27-2014
12:42 PM

10-27-2014
12:42 PM

Re: ODE solve help : predefine a function

Hi,

I think it is getting a bit deviated from i want to achieve.. I don't want to add an extra M.p on the ODE block, I am only trying to simplify my equations.

What i trying to achieve is to make the C.p(t) equation look a bit simple by shrinking ((1-delta2)*P.N' N.p(t)) into one variable such as M.p(t).

such as to predefine a variable,

M.p(t) = (1-delta).P.N*N.p(t)

So that,

C.p(t) = M.p(t) - µ.pCp(t)

or if this is possible?

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

10-27-2014
12:43 PM

10-27-2014
12:43 PM

Re: ODE solve help : predefine a function

i think the picture is not attached well.. I cannot see it..

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

10-27-2014
01:06 PM

10-27-2014
01:06 PM

Re: ODE solve help : predefine a function

preeti baskaran wrote:

i think the picture is not attached well.. I cannot see it..

This unfortunately happens ever so often.

Hope it works this time:

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

10-27-2014
01:07 PM

10-27-2014
01:07 PM

Re: ODE solve help : predefine a function

Look at Fred's post and the picture I just posted a second time.

Or maybe the second pic in my first replay, if you still want to solve for N.p and not M.p.

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

10-27-2014
01:15 PM

10-27-2014
01:15 PM

Re: ODE solve help : predefine a function

But.. did u read the post that i replied recently?

I wonder why you would want to introduce a third unknown function in the solve block which is dependent in a simple way on the function N.p which you are solving for.

Are you looking for something like this:

I dont want to introduce a third unknown function, I would just like to simplify my equations by predefining them

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

10-27-2014
03:25 PM

10-27-2014
03:25 PM

Re: ODE solve help : predefine a function

Go read the sheet I posted.

You can do a simple modification of your solve block allows M (t) instead of N (t). There is some question about boundary conditions.