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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

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

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

Announcements

Top Tags