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
- :
- Odesolve Too few initial conditions

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

Highlighted

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

05-27-2020
05:10 PM

05-27-2020
05:10 PM

Hello,

I'm trying to recreate a student's work presented in a paper and I just can't seem to get it to work. I've gone through as many of the posts here on this issue as I can but don't see many of the common errors (incorrect equal sign etc). Occasionally i'll see a stray typo and fix it, but I think may have been staring at this too long to see what's wrong with it.

Error message is "Too few initial conditions". Mathcad doesn't seem very flexible in trying to track down erros like this.

I really appreciate your time and assistance,

- T

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

05-27-2020
05:38 PM

05-27-2020
05:38 PM

You have initial conditions for V.P and V.T,

but you have a derivative for V(t),

that's not V.T(t) and not V.P(t)...

Besides that, you don't have an initial condition for V.p(t)...(That's lower case p here).

I suppose you deliberately disabled the first equation with the derivative of Z(t) ...

Success!

Luc

5 REPLIES 5

Highlighted

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

05-27-2020
05:38 PM

05-27-2020
05:38 PM

You have initial conditions for V.P and V.T,

but you have a derivative for V(t),

that's not V.T(t) and not V.P(t)...

Besides that, you don't have an initial condition for V.p(t)...(That's lower case p here).

I suppose you deliberately disabled the first equation with the derivative of Z(t) ...

Success!

Luc

Highlighted
##

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

05-27-2020
06:11 PM

05-27-2020
06:11 PM

Re: Odesolve Too few initial conditions

Thanks for catching that! That explains it, was driving me nuts.

Now onto researching the next error, "The return value of this function must match the problem size."

Thanks for the help!

Highlighted
##

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

05-28-2020
02:41 AM

05-28-2020
02:41 AM

Re: Odesolve Too few initial conditions

See if you have accidentally used array notation instead of a literal subscript (Typed a "[" instead of a ".").

Success!

Luc

Highlighted
##

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

05-28-2020
02:57 AM

05-28-2020
02:57 AM

Re: Odesolve Too few initial conditions

It was an issue with the odesolve's intvls value being too large, it wouldn't find a solution until reduced to a smaller value.

Thanks for all your help.

Highlighted
##

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

05-28-2020
03:20 AM

05-28-2020
03:20 AM

Re: Odesolve Too few initial conditions

Your welcome.

Success with your work!

Luc