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 called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

MC15: Solving an ODE

MoeSzyslak
12-Amethyst

MC15: Solving an ODE

All --

I don't have much experience solving ODEs in Mathcad, Any ideas why this doesn't work?

FWIW, I know I can separate variable and just put the necessary equations inside of a solve block and Minerr it, but that produces its own set of problems, so I would like to try this. Obviously, the symbolic engine chokes on the integral, so we can't do it directly.

Thanks in advance.

Matt

ACCEPTED SOLUTION

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

Moe Szyslak wrote:

Thanks for the tip, but even after I remove units, I get the same, largely unhelpful, error message: "Cannot understand this syntax".

Change LHS with RHS of the equation - Mathcad 15 likes the derivatives on the LHS. No comment.

View solution in original post

5 REPLIES 5
Werner_E
25-Diamond I
(To:MoeSzyslak)

Odesolve doesn't work with units (yes, thats one advantage of Prime) so try without.

Thanks for the tip, but even after I remove units, I get the same, largely unhelpful, error message: "Cannot understand this syntax".

Werner_E
25-Diamond I
(To:MoeSzyslak)

Moe Szyslak wrote:

Thanks for the tip, but even after I remove units, I get the same, largely unhelpful, error message: "Cannot understand this syntax".

Change LHS with RHS of the equation - Mathcad 15 likes the derivatives on the LHS. No comment.

LucMeekes
23-Emerald IV
(To:MoeSzyslak)

Is this of any help? (Mathcad 11)

All -- thanks a ton. Removing units AND bringing the derivative over the the LHS of the equation did the trick, as Werner showed. I am even able to solve the more general problem (i.e., with an integral premultiplier that has h in it's limits) after this modification (though only for a very limited parameter space).

Thanks again for the help.

Announcements

Top Tags