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

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

5-Regular Member

## MathCAD Prime 9.0/10..0 Differential Equation Second Order

Hello Community Members,

I would appreciate your help in fixing the solution to a second order differential equation.

Thanks in advance for a timely feedback!
Best regards, Peter

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby V
(To:PR_9168273)

The correct syntax is y:=odesolve... and not y(t):=...

But the main problem is the fact, that M and F0 are vectors and not scalars!

For every line in the vectors M and F0 you would get a different function x!!

Here as an example I have chosen index 1001

You may also parametrize the solve block with the vector index.

Now you could show a few of the 4000 different functions in one plot

Prime 10 worksheet attached

6 REPLIES 6
24-Ruby V
(To:PR_9168273)

The correct syntax is y:=odesolve... and not y(t):=...

But the main problem is the fact, that M and F0 are vectors and not scalars!

For every line in the vectors M and F0 you would get a different function x!!

Here as an example I have chosen index 1001

You may also parametrize the solve block with the vector index.

Now you could show a few of the 4000 different functions in one plot

Prime 10 worksheet attached

9-Granite
(To:Werner_E)

Is Prime 10 released ? - was not aware of this.

Owe

24-Ruby V
(To:o.svahn)

@o.svahn wrote:

Is Prime 10 released ? - was not aware of this.

Owe

Yes it is. I wasn't aware of it , either, until I noticed this post

5-Regular Member
(To:Werner_E)

Hello Werner, thanks for the valuable feedback! Best wishes, Peter

23-Emerald III
(To:PR_9168273)

The simpler approach is the fact that the solution for the ODE:

is:

And with: x(0)=0 and x'(0)=0 the two constant C0 and C1 are each zero, so:

And with this you can plot x(t) for any values of F and M.

Success!
Luc

5-Regular Member
(To:LucMeekes)

Hello Luc, thanks for the valuable feedback! Best wishes, Peter

Announcements
Top Tags