Skip to main content
1-Visitor
November 13, 2017
Solved

Numerical Solutions To Differential Equations

  • November 13, 2017
  • 3 replies
  • 7843 views

Can someone help me with this program. I cannot seem to plot the graphs nor can I get the output matrices.

 

Thanks

RA

Best answer by LucMeekes

Instead of ending the program with [t f u u'']  end it with:

augment(t,f,u,u'')

Then you should be able to plot u versus t for example.

 

Success!
Luc

3 replies

24-Ruby IV
November 13, 2017

Show please your ODEs!

1-Visitor
November 13, 2017

here is the zp file

23-Emerald IV
November 13, 2017

"help me with this program"

Which program?

Please send in your Mathcad or Prime worksheet.

You may have to zip it first. A serious bug in this forum prevents direct uploading of Mathcad and Prime worksheets for most users. But a .ZIP file can be attached to a posting.

To get the .zip file, use Windows Explorer, select the file, right-mouse click and select "Send to" then "Compressed (.zip) folder". this results in a .zip file containing the worksheet that you can attach.

 

Luc

1-Visitor
November 13, 2017
21-Topaz II
November 13, 2017

Hi RA,
you could use the finite difference method below:

fdm0.jpgfdm1.jpgfdm2.jpg

1-Visitor
November 13, 2017

Yes, FDM is one of the several ways, and thanks for sharing that program with us. The time intervals need to be no more than 1/10 of the peak forcing function, which means that the number of iterations for a 2 sec response would be in the thousands.

21-Topaz II
November 13, 2017

Hi ,

For any order matrix, you can do so as indicated below:

fdm3.jpg