cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

System of 2 second order coupled differential equations with Mathcad

klem
1-Newbie

System of 2 second order coupled differential equations with Mathcad

Hello,

My problem deals with a system of 2 second order coupled differential equations, Using Mathcad.

I issue a problem with the "D" function (used to solve a differential equation) when there is more than 1 parameter inside.

Here is the system with 2 parameters Teta1 and Teta2 :

1.jpg

I convert this system to have only first order equations :

2.jpg

Then, I can't find other way than making a D matrix with my 2 parameters Teta1 and Teta2

3.jpg

Then, I issue my problem : its seems that I can't put a D function with 2 parameters in rkfixed method.

4.jpg

So, if anybody here can find a way to solve this system, please let me know ! Any other method to solve it is welcome, of course !

Regards

Kevin

4 REPLIES 4
LucMeekes
23-Emerald III
(To:klem)

How about this:

This all to show that Mathcad is much more powerfull than doing just numerical solutions.

Success!

Luc

RichardJ
19-Tanzanite
(To:klem)

Then, I issue my problem : its seems that I can't put a D function with 2 parameters in rkfixed method.

Your D function has three parameters, not two. The variable t does not even appear on he RHS, so get rid if it. If that doesn't fix it, please post a worksheet. It's hard to debug a picture.

AlanStevens
17-Peridot
(To:klem)

Here are a couple of methods:

ode1.PNG

ode2.PNG

Alan

StuartBruff
23-Emerald II
(To:klem)

Kevin Lem wrote:

Hello,

My problem deals with a system of 2 second order coupled differential equations, Using Mathcad.

I issue a problem with the "D" function (used to solve a differential equation) when there is more than 1 parameter inside.

Here is the system with 2 parameters Teta1 and Teta2 :

1.jpg

I convert this system to have only first order equations :

Then, I can't find other way than making a D matrix with my 2 parameters Teta1 and Teta2

3.jpg

Then, I issue my problem : its seems that I can't put a D function with 2 parameters in rkfixed method.

So, if anybody here can find a way to solve this system, please let me know ! Any other method to solve it is welcome, of course !

Regards

Kevin

Did you look at the answers to this question posed on Eng Tips?

System of 2 second order coupled differential equations with Mathcad - PTC: Mathcad - Eng-Tips

The Mathcad 14/15 ODE solvers do not accept a 2D matrix form for the differential equation.  Instead you must recast it as combined vector.

Stuart

Top Tags