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
- :
- Re: Toolbox: Solving Ordinary Differential Equatio...

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

09-24-2020
04:46 AM

09-24-2020
04:46 AM

As of now it is possible to solve Ordinary Differential Equations (ODE) symbolically in Mathcad, as long as:

-the ODE is linear (does not involve powers or products of the sought function or its derivatives), and

-the coefficients of the derivatives are constant (do not depend on the independent variable).

This means you can solve:

The result is:

Check out the attachments for further information.

The solver "LODEsolve" (reference file for insertion in your sheet) and an example usage file "LM_20200923_LODEsolve" are attached.

If you're using:

- Mathcad 11, use LODEsolve.**mcd** (it will NOT work in Mathcad 15) and check out example file LM_20200923_LODEsolve.**mcd**.

- Mathcad 15 use LODEsolve.**xmcd** and check out example file LM_20200923_LODEsolve.**xmcd**.

If you're using (any version of) mathcad Prime: Install Mathcad 15 and use that before you can benefit.

Comments, kudos and suggestions for improvement are welcome.

Success!

Luc

(Thank you @Werner_E for conversion to and checking of Mathcad 15 functionality.)

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-19-2020
04:30 PM

10-19-2020
04:30 PM

Found an error in the symbolic processing of the Mathcad 15 edition of LODEsolve, as a result of which it wouldn't solve sets of ODEs.

That is corrected now.

Luc

7 REPLIES 7

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

09-24-2020
07:30 AM

09-24-2020
07:30 AM

Re: Solving Ordinary Differential Equations symbolically

Dear Luc & Werner thank you for these nice worksheets and for the continuous support both of you provide to the Collaboratory. I have learned so much from you both. Best regards, Filip

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

10-14-2020
01:46 PM

10-14-2020
01:46 PM

Re: Toolbox: Solving Ordinary Differential Equations symbolically

Update:

It is now also possible to solve __sets of__ Linear Ordinary Differential Equations.

An example:

See attached, and enjoy.

Luc

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

10-14-2020
04:34 PM

10-14-2020
04:34 PM

Re: Toolbox: Solving Ordinary Differential Equations symbolically

Congratulations! So you finally succeeded to make it work in MC14/15, too? I had not taken a closer look yet - what was the problem with the earlier attempts?

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

10-14-2020
04:37 PM

10-14-2020
04:37 PM

Re: Toolbox: Solving Ordinary Differential Equations symbolically

Things that Mathcad 11 can do, but 15 won't.

See the other thread.

Luc

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

10-19-2020
04:30 PM

10-19-2020
04:30 PM

Found an error in the symbolic processing of the Mathcad 15 edition of LODEsolve, as a result of which it wouldn't solve sets of ODEs.

That is corrected now.

Luc

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

10-15-2020
07:25 AM

10-15-2020
07:25 AM

Re: Toolbox: Solving Ordinary Differential Equations symbolically

Dear Luc, thanks to a friend I can use MC11. However I find something strange when loading your worksheet everything seems to work fine with exception of example 1, 17 and 18 where I get the message "No symbolic result was found". Do you have any idea why this happens? As you did not see the problem I have added a print screen

Thanks for your help!

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

10-18-2020
05:53 PM

10-18-2020
05:53 PM

Re: Toolbox: Solving Ordinary Differential Equations symbolically

Just encountered this:

It also happens when *a* gets an index subscript. It does NOT happen when *y*, *t* or *fixed* get a subscript. I have no clue (yet) what causes it 😲.

And it does not appear to happen in Mathcad 15...😮

Luc