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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Finite Difference

SFares
12-Amethyst

Finite Difference

Hello,

I am trying to do a finite difference to solve the differential equation and compare it with the analytical solution. I am not sure why I am not getting the plots to work out. I attached both Mathcad-15 and Prime 7 files. I converted 15 to Prime7.

 

Thank you,

Sam

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:SFares)

Problem:

LucMeekes_6-1633639593672.png

Using Odesolve:

LucMeekes_4-1633639461666.png

The finite difference:

LucMeekes_1-1633639013499.png

And the analytical solution is:

LucMeekes_2-1633639381707.png

Plot:

LucMeekes_7-1633639692541.png

 

Success!
Luc

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald III
(To:SFares)

Problem:

LucMeekes_6-1633639593672.png

Using Odesolve:

LucMeekes_4-1633639461666.png

The finite difference:

LucMeekes_1-1633639013499.png

And the analytical solution is:

LucMeekes_2-1633639381707.png

Plot:

LucMeekes_7-1633639692541.png

 

Success!
Luc

SFares
12-Amethyst
(To:LucMeekes)

Thank you so much Luc!

 

Sam

Top Tags