Skip to main content
12-Amethyst
March 2, 2016
Solved

MC15: Solving an ODE

  • March 2, 2016
  • 5 replies
  • 1973 views

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

Best answer by Werner_E

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.

5 replies

25-Diamond I
March 2, 2016

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

12-Amethyst
March 2, 2016

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

Werner_E25-Diamond IAnswer
25-Diamond I
March 2, 2016

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.

23-Emerald IV
March 2, 2016

Is this of any help? (Mathcad 11)

12-Amethyst
March 3, 2016

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.