Numerical method to solve a fourth order ODE

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 6K views
rsluijs
Messages
1
Reaction score
0
I've got the following ODE:

K*w''''+c*w = q

I can solve this with DSolve (from Matlab), but how can I solve this in a numerical way?

Thanks!
 
Physics news on Phys.org
Welcome to PF!

rsluijs said:
I've got the following ODE:

K*w''''+c*w = q

I can solve this with DSolve (from Matlab), but how can I solve this in a numerical way?

Thanks!

Hi rsluijs! Welcome to PF! :smile:

To solve K*w''''+c*w = 0, you can replace ' by the operator D, giving the "characteristic polynomial" (KD4 + C)w = 0,

and you factor that to (D + a)(D + b)(D + c)(D + d)w = 0,

and then solve each individual (D + a)w = 0 etc, and add linear combinations of those solutions. :wink: