Get Help

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
- :
- Help Solving a System of Differential Equations

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

Highlighted

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

01-03-2017
05:37 PM

01-03-2017
05:37 PM

I’m having trouble solving this system of differential equations. I’m pretty new to Mathcad and I don’t really have that much experience with differential equations either so I’m really off to a great start.

I’m trying to calculate the flight path of a spinning tennis ball being launched at 45 deg. I am working with some numbers now but they are partially placeholders. I removed units for now just to take out one level of complexity.

Feel free to check my equations but the real problem I’m having is with my initial conditions (I think). I keep getting the error message “Unknown error: dae%_inital%_condition%_error.” and I'm not sure how to fix it.

I’ve attached the file below. I'm using Mathcad prime 3.1

Thanks

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

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

01-05-2017
06:55 AM

01-05-2017
06:55 AM

Hallo Dan,

See attached File, hope it will be helpful.

I'm using MathCad Prime 3.1 as well.

Volker

Volker

8 REPLIES 8

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

01-04-2017
01:02 PM

01-04-2017
01:02 PM

Re: Help Solving a System of Differential Equations

Unless 3.1 has suddenly broken with tradition the error message rarely hints at the actual problem. If you can "Trace Error," you may get a clue where the problem actually lies. Otherwise the error means "it won't compute." This is unfortunately especially true in solve blocks.

You're using 3.1, since I only have 3.0 (and cannot, therefore, actually see your file) you'll have to wait for a more up-to-date user to provide a better clue. These angels exist--be patient!

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

01-05-2017
06:55 AM

01-05-2017
06:55 AM

Hallo Dan,

See attached File, hope it will be helpful.

I'm using MathCad Prime 3.1 as well.

Volker

Volker

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

01-05-2017
09:31 AM

01-05-2017
09:31 AM

Re: Help Solving a System of Differential Equations

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

01-05-2017
07:38 PM

01-05-2017
07:38 PM

Re: Help Solving a System of Differential Equations

Wow, thanks, everyone!

Haha Fred, that point about the error messages is all too true.

Volker, you are a god among men. That is exactly what I needed. I should be able to modify that with no problem at all.

Valery, thanks, I will definitely check that out.

-Dan

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

01-06-2017
12:32 PM

01-06-2017
12:32 PM

Re: Help Solving a System of Differential Equations

Thanks Dan,

here another example to use the solve block with differential Equations and with Units.

...have Fun driving the beetle...

Greets, Volker

Volker

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

01-06-2017
01:49 PM

01-06-2017
01:49 PM

Re: Help Solving a System of Differential Equations

Hello Dan,

if you're interested, here is the analytical solution. As you see the problem is very simple ...

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

01-09-2017
09:53 PM

01-09-2017
09:53 PM

Re: Help Solving a System of Differential Equations

Volker, thanks more examples are always better. I'm starting to get a hang of how this works.

F.M., thanks that is really interesting. Did you ever calculate exactly how different the numerical solution is to the analytical one?

Sorry to the both of you for not responding sooner I was traveling.

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

01-10-2017
04:16 AM

01-10-2017
04:16 AM

Re: Help Solving a System of Differential Equations

Hi Dan,

the relative error, practically, is null.

Bye